[rsync] Using Protect filter on a merge rules file

Wayne Davison wayned at samba.org
Tue Jan 26 16:29:46 MST 2010

On Mon, Jan 25, 2010 at 4:13 AM, Carlo Cancellieri <ccancellieri at hotmail.com
> wrote:

> So this should filter any file into bianco-home and protect any *thouch*
> file in the requesting client home (or not?)

Daemon filter rules only affect the daemon.  So, if it is receiving files,
it will not delete files that are protected, but the client never sees any
of the filter/exclude/include rules that are daemon-specific.  The standard
for rsync is for the client side to share its rules with the server, and the
daemon is never the client.

So, if you need the client to obey a filter rule, either specify that rule
to the client, or specify that the client read per-dir merge rules from
files that are included in the transfer (and limit yourself to delete-after
or the files won't be there in time to affect the delete).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20100126/d4894e3e/attachment.html>

More information about the rsync mailing list