Excluded directories at rsync (was "--filter, missing in action")

Wayne Davison wayned at samba.org
Sat Apr 25 18:53:34 GMT 2009


On Thu, Apr 23, 2009 at 08:40:12PM +0300, Teodor MICU wrote:
> This is not desired because these "parent*" directories
> were deleted on the MASTER host but cannot be deleted with rsync on the
> SLAVE hosts because it contains one excluded directory named "DIR".

You should either anchor your excludes so they only match the items you
want them to (not extra subdirs), or you should use the perishable
option to the exclude rule so that it won't affect the removal of a
parent directory.

..wayne..


More information about the rsync mailing list