--include=PATTERN not working!

Haisam K. Ido haisam at ido.org
Wed Nov 19 01:43:13 EST 2003


Thank you.  I got it.  It should have been:

rsync -rvaz --include="*.lis" --include="*/" --exclude='*'
user at server:/path/ .

> On Mon, Nov 17, 2003 at 09:14:46PM -0000, Haisam K. Ido wrote:
>> but I do have the recursive option on
>>
>> -rvaz
>
> Then you procede to exclude all subdirs not matching *.lis
>
> READ the "EXCLUDE PATTERNS" section a few more times
> and/or read the list archives.
>
>> > On Fri, Nov 14, 2003 at 10:02:56PM -0000, Haisam K. Ido wrote:
>> >> Why does'nt this work?
>> >>
>> >> rsync -rvaz --include="*.lis" --exclude='*' user at server:/path/ .
>> >> receiving file list ... done
>> >> client: nothing to do: perhaps you need to specify some filenames or
>> the
>> >> --recursive option?
>> >
>> > Looks like it is working perfectly.  You ask it to only
>> > rsync file matching *.lis only if they are directly in the
>> > directory specified but not in any subdirs.  There aren't
>> > any so there is nothing to do.
>
> --
> ________________________________________________________________
> 	J.W. Schultz            Pegasystems Technologies
> 	email address:		jw at pegasys.ws
>
> 		Remember Cernan and Schmitt
> --
> To unsubscribe or change options:
> http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>




More information about the rsync mailing list