--filter, missing in action.

Wayne Davison wayned at samba.org
Fri Apr 24 14:45:07 GMT 2009


On Thu, Apr 23, 2009 at 02:02:26PM +0200, istrice wrote:
> --filter=':r .bar'

This indicates that you want the file .bar to be read at every level of
the destination hierarchy and its contents to be interpreted as filter
commands.  That would let you specify localized filtering.

> --filter=':r foo/'

It doesn't make sense to specify a directory as a merge-file.  From your
other text I imagine you're trying to protect the "foo" dir's contents
from deletion, in which case you should be using a protect (P) rule:

  --filter='protect foo/'

..wayne..


More information about the rsync mailing list