Thank you. I got it. It should have been: rsync -rvaz --include="*.lis" --include="*/" --exclude='*' [EMAIL PROTECTED]:/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='*' [EMAIL PROTECTED]:/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: [EMAIL PROTECTED] > > 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 > -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html