Rally?  I had no idea that the dest would delete anything not in
source.  If that's the case, what is --delete for then?

Thanks.

~JK

"Wilson, Mark - MST" wrote:
> 
> Leave out the --delete. It will delete everything on the destination that is
> not present on the source, except for .snapshot -if present. If you want to
> play with --delete use the -n option as well. This will tell you what rsync
> is going to do without actually doing anything.
> 
> Suggest you try
> 
> rsync -avW --exclude=.snapshot /mail-data/ /mnt
> 
> Cheers
> 
> Mark
> 
> -----Original Message-----
> From: Jeff Kennedy [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 26 June 2001 09:19
> To: RSync List (E-mail)
> Subject: Re: question on switches and their order
> 
> So, if I understand you correctly, it should work fine (with
> improvements) like this:
> 
> rsync --exclude=.snapshot --delete -avW /mail-data/ /mnt
> 
> Is this correct?
> 
> Thanks.
> 
> ____________________________________________________________________
> CAUTION - This message may contain privileged and confidential
> information intended only for the use of the addressee named above.
> If you are not the intended recipient of this message you are hereby
> notified that any use, dissemination, distribution or reproduction
> of this message is prohibited. If you have received this message in
> error please notify Air New Zealand immediately. Any views expressed
> in this message are those of the individual sender and may not
> necessarily reflect the views of Air New Zealand.
> _____________________________________________________________________
> For more information on the Air New Zealand Group, visit us online
> at http://www.airnewzealand.com or http://www.ansett.com.au
> _____________________________________________________________________

-- 
=====================
Jeff Kennedy
Unix Administrator
AMCC
[EMAIL PROTECTED]

Reply via email to