rsync exclude/include

Thomas Schweikle tschweikle at fiducia.de
Fri Nov 16 03:17:32 EST 2001






Dave Dykstra <dwd at bell-labs.com> on 13.11.2001 17:41:22

An:   Thomas Schweikle <tschweikle at fiducia.de>, rsync at lists.samba.org
Kopie:
Thema:    Re: rsync exclude/include


> On Tue, Nov 13, 2001 at 10:00:59AM -0600, Dave Dykstra wrote:
> ...
>> A simplification is this:
>>
>>     + /iso
>>     + /iso/1.5.*
>>     + /iso/1.5.*/i386*
>>     - *
>>
>> because if you don't have the slash preceding the exclude "*" it
>> applies at all levels.
>
> Wait, if i386* matches directories and not just files you'll need
>
>    + /iso
>    + /iso/1.5.*
>    + /iso/1.5.*/i386**
>    - *
>
> so that it will include all files below the i386* directories.
> Any double asterisk in a pattern tells the matching routine to
> go beyond slashes.

No. No solution. No files. Nothing. Definitively something wrong with these
matching routines.
--
Thomas






More information about the rsync mailing list