Sign in to Community
Sign in to view all badges
Expand my Community achievements bar.
I have downloaded crx2oak onto my local dev machine.
6.2 aem instance is on linux box1, 6.4 aem instance is on linux box2. Following is the command that I ran from my local windows command prompt.
java -Xmx10g -jar crx2oak-1.8.6-all-in-one.jar user1@box1:/data/repository/segmentstore user1@box2:/opt/aem/crx-quickstart/repository/segmentstore --include-paths=/content/dam/assets/ --copy-versions=false --copy-orphaned-versions=false
I am getting Exception in thread "main" java.lang.IllegalArgumentException: Not a directory: error.
And ideas on how to use this tool on remote host paths?
You can’t use remote paths. You must use local paths.
To to do what you want to do, copy the full repository from box1 to box2 using for example scp or rsync to another location, like /data/source.
Then run the crx2oak tool on box2 using /data/source as input and /opt/aem/crx-quickstart/repository/segmentstore.
After that, you can delete /data/source on box2.