Help with --delete option
scott
scott.list at mlec.net
Sat Dec 17 22:46:04 GMT 2005
> On Sat, Dec 17, 2005 at 03:55:27PM -0600, scott wrote:
> > rsync --archive -e '/usr/bin/ssh -p 22' --verbose
> > \ --include-from=/root/my-backupfilter --recursive
> > \ --delete --existing / user at x.x.x.x:/home/backupdir
> >
> > which is close, but still updates files
>
> You need to also add --ignore-existing. Combined with --existing
> (which should really be named --ignore-non-existing), no files will
> be transferred at all, so only deletions will happen.
Thanks wayne. I had tried that but my original test didn't work. I just
did it again and it is working as desired, not sure what I did wrong before,
oh well. Thanks again very much. Best, Scott
More information about the rsync
mailing list