On Tue, 16 Dec 2008 10:32:00 +0100, Daniel Troeder wrote:

> While this will work perfectly well, this command is a waste of
> resources. The compression ("-z") makes locally no sense, and there is
> no need to tar the data (which will basically just concat files). You
> will get the exact same result with
> # cp -a /source /dest

There is one slight disadvantage to cp in that it changed the modified
time of directories to the current time, which rsync does not. I'd use

rsync -ax /source/ /dest/


-- 
Neil Bothwick

If ignorance is bliss, you must be orgasmic.

Attachment: signature.asc
Description: PGP signature

Reply via email to