rsync  

RE: [rsync] Using Protect filter on a merge rules file

Carlo Cancellieri
Wed, 27 Jan 2010 07:16:00 -0800

> 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. 

Thank you Wayne now my problem is clear. Man is a bit cryptic in this section 
(for me).

I already tried to use per directory filter but using --dry-run option 
(obviously) won't work... doing it in a test directory without the '-n' option 
all come's to work...

Thank you again,
C.C.
________________________________
> Date: Tue, 26 Jan 2010 15:29:46 -0800
> Subject: Re: [rsync] Using Protect filter on a merge rules file
> From: way...@samba.org
> To: ccancelli...@hotmail.com
> CC: rsync@lists.samba.org
>
> On Mon, Jan 25, 2010 at 4:13 AM, Carlo Cancellieri> wrote:
>
> So this should filter any file into bianco-home and protect any *thouch* file 
> in the requesting client home (or not?)
>
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).
>
>
> ..wayne..
                                          
_________________________________________________________________
Velocità, sicurezza e...tanto spazio! Scopri le novità di Hotmail
http://www.windowslive.it/hotmail/Home_novita.aspx
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html