14 Oct
2006
14 Oct
'06
10:15 p.m.
On Sat, Oct 14, 2006 at 10:02:04PM +0100, cl@isbd.net wrote:
If I want to copy a hierachy of files and directories which include a lot of hidden files (and directories) i.e. ones which start with '.' what is the easiest way to go about it?
I know one approach is to use tar but it would be easier if I could simply 'cp -R x y' and copy *everything* in x to y. Is there not a simple way to do this?
rsync -a x/ y/ (there /s are reasonably useful, and make it slightly more predictable if the destination directory already exists) Cheers, -- Brett Parker