[buug] Using "cp" to backup/clone

Rick Moen rick@linuxmafia.com
Mon, 31 Jul 2000 00:35:37 -0700


begin  Zeke Krahlin quotation:

> However, I want to *clone the /home folder, not just copy. it. What I
> mean by "clone" is this: "Copy any new or changed files from the source to
> the destination, and remove any files from destination which no longer
> exist in source. Otherwise, don't copy any files that haven't been
> altered."

Use rsync.   http://rsync.samba.org/  Fabulous tool; you'll love it.
 
-- 
Cheers,                              "Open your present...."
Rick Moen                            "No, you open your present...."
rick (at) linuxmafia.com             Kaczinski Christmas.
               --  Unabomber Haiku Contest, CyberLaw mailing list