exclude all but specifice files in dir

Matt McCutchen hashproduct at verizon.net
Thu Feb 16 02:59:56 GMT 2006


On Wed, 2006-02-15 at 18:33 -0600, Harry Putnam wrote:
> Wayne Davison <wayned at samba.org> writes:
> > On Tue, Feb 14, 2006 at 03:09:48AM -0600, Harry Putnam wrote:
> >>   - /.kde*
> >
> > That doesn't exclude anything, since you already included things that
> > match that.  You should be using "- *" to exclude everything else other
> > than what was explicitly included.
> 
> Can I do something that is isolated to ~/.kde?

How about "- /.kde**" ?  That will exclude anything under .kde that is
not matched by an earlier include rule.
-- 
Matt McCutchen
hashproduct at verizon.net
http://hashproduct.metaesthetics.net/



More information about the rsync mailing list