'cp' skips some of Eclipse's dot directories

Posted by Dustin Digmann on Super User See other posts from Super User or by Dustin Digmann
Published on 2010-01-14T17:33:00Z Indexed on 2011/11/25 17:54 UTC
Read the original article Hit count: 293

Filed under:
|

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

© Super User or respective owner

Related posts about cygwin

Related posts about eclipse