I would like to find the command that copy my eclipse options to another workspace:
There is only one directory
org.eclipse.core.runtime among many to copy into a new workspace preserving the structure
.metadata/.plugins/. After copy the structure should be:
without manually create
[~]$ cd /home/me/myWorkspace/ [myWorkspace]$ cp -Rf .metadata/.plugins/org.eclipse.core.runtime -t /destination/path/newWorkspace/.metadata/.plugins cp: can't create directory '/destination/path/newWorkspace/.metadata/.plugin': No such file or directory
It doesn't work, and it could be source of error to write the path
.metadata/.plugins manually. It certainly a better idea to create a complete script ?