'cp' skips some of Eclipse's dot directories
- by Dustin Digmann
I am trying to backup my Eclipse .metadata directory. The command I run is:
cp -Rf ~/some/where/.metadata/* ~/some/backup/.metadata/.
The first time I tried this, the copy skipped the lock file and the .plugins and .mylyn directories. After doing some research, I found some threads mentioning permission changes. I applied the changes and found some success.
Now, running the script will not create or traverse into the .plugins or .mylyn directories. Additional research has come up with zero results.
I am using:
Windows XP SP 3
Cygwin 1.7.1-1