Matt McCutchen wrote:
> On Tue, 2009-11-10 at 09:45 +0800, Thomas Gutzler wrote:
>> Thanks everyone for your help, I've got what I want.
>>
>> My first attempt has been
>> --include="*/" --include="*.foo" --include="*.bar"
>> --include="/this_dir/***" --exclude="*"
>> which did nothing than *.foo and *.bar. Shuffling it around, I found that
>> --include="*/" --include="/this_dir/***" --include="*.foo"
>> --include="*.bar" --exclude="*"
>> does what I want and it even makes sense.
> 
> Those two commands should be equivalent.  If you have a reproducible
> case in which they aren't, please share it and we can see if there's a
> bug.

Going through my history, I found that I must have accidentally put a
whitespace between '--include' and '=' which wasn't very obvious at the
time thanks to the line wrapping of my terminal. I should have used an
include file instead :)
So no, no bugs.

Tom

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

Reply via email to