Once again somewhat mystified with exclude rules

Harry Putnam reader at newsguy.com
Fri Apr 12 22:01:01 EST 2002


Martin Pool <mbp at samba.org> writes:

> On 12 Apr 2002, Harry Putnam <reader at newsguy.com> wrote:
>> I go thru this every few mnths it seems.  Rsyncs exclude rules are
>> very sophisticated but because of that somewhat unfathomable at
>> times.
>
> Remember in 2.5.5 you can use -vv to get an explanation of which
> include/exclude rule caused a particular file to be handled a
> particular way.  (Suggestions to improve this, as always, are
> welcome.)

I did know about that, but in this case it was just a way to keep
track of what didn't work...  but then that alone is quite a help.

[...]

> mbp/3 harry$ rsync --exclude '**/no_back/*' --exclude 'no_back/*' [...]

Very nifty tree examples... As always your advice has been right on
target.  Thanks




More information about the rsync mailing list