5 Sep
2005
5 Sep
'05
02:21
On Sun, 2005-09-04 at 18:13 -0800, Greg Wallace wrote:
I would like to make a copy of directory on a second hard drive. I want all of the links resolved and the actual files copied, even if I end up with duplicates under different subdirectories on the target media. I tried --
cp -R source dest
That's what the dereference (-L or --dereference) flag does. # cp -RL source dest That will follow the link (ie, copy the file and not the link). There is a similar flag for cpio (-L or --dereference). Bob