Le 2013-12-06 11:07, Tanstaafl wrote :
And for the record (you didn't specifically say so), are you in
agreement that
cp -a /usr/. /usr.tmp/.
will accomplish the exact same thing as the rsync command I was
planning on using?
For me, it's best to use rsync, because rsync will not copy file if they
are already existing, and are the same. It's quite usefull when using a
copy over a network, or even locally when spurious error can occur and
especially when the filesystem is live and file may be modified during
the copy.
To copy large file tree rsync is, for me, always the best choice, and
I'm pretty sure that there are some cases that rsync will behave better
than a simple recursive cp
Cheers,
Godzil