Selective --delete

Ashley M. Kirchner ashley at
Tue Jan 7 10:08:08 MST 2014

On Tue, Jan 7, 2014 at 9:44 AM, Paul Slootman <paul+rsync at> wrote:

> rsync will not touch files that have been --exclude'ed; unless you also
> specify --delete-excluded . So just specify those LIVE-only files in
> your exclude list.
Uh, that hasn't been my experience.  I just ran this and it happily deleted
the events folder.  I did verify that it gets excluded during the sync
portion as files that either exist or don't exist on either servers did not
get synced or deleted, but it did, at the end, delete the entire folder and
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list