[K12OSN] Simple RSYNC question
Bill Bardon
bill.bardon at gmail.com
Wed Oct 5 16:53:23 UTC 2005
On Wednesday, Oct 05 Jim Kronebusch wrote:
> #rsync -arvv /mnt/mailhome/ /home
>
> Is there a simple switch to add that will remove the files from the
> new server if they have been removed from the old server?
rsync -arvv --delete /mnt/mailhome/ /home
Also try "man rsync" to learn about the command options available.
Be careful, rsync really will delete files. Be sure your source and
target are correct before you accidentally wipe out a bunch of stuff.
--
Bill Bardon
COMPUTASSIST
Omaha, Nebraska
http://www.computassist.com
More information about the K12OSN
mailing list