--include=PATTERN not working!

jw schultz jw at pegasys.ws
Tue Nov 18 21:25:35 EST 2003


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



More information about the rsync mailing list