DO NOT REPLY [Bug 3825] rsync won't delete directory with excluded files

samba-bugs at samba-bugs at
Sat Jun 10 17:09:13 GMT 2006

------- Comment #3 from hashproduct+rsync at  2006-06-10 12:09 MST -------
I think using hide filters (like --filter="H *.tmp") for temporary and scratch
files will accomplish what you want.  If some such files accidentally get
copied to the receiver and then you add a hide filter matching them, rsync will
delete the files from the receiver the next time it runs.  This is probably
easier than having rsync warn you so that you can clean the files up by hand.

Would itemizing pinned directories as "*pinned" provide enough of a warning for
the cases in which you don't want the excluded file inside deleted

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list