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

samba-bugs at samba-bugs at
Sun Jun 11 15:48:20 GMT 2006

------- Comment #4 from wayned at  2006-06-11 10:48 MST -------
Something like this has come up before in the context of excluding an .svn
directory that shouldn't be transferred or or removed, unless the parent
directory also went away.  I'm thinking that a filter option for exclude could
indicate that the rule should only apply inside a transfer directory.  Perhaps
this syntax:

--filter="-t *.tmp"

As for the lack of a complaint when rsync cannot delete a directory because it
is not empty, that is the current design, but we should make a way for rsync to
generate a warning.

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