--files-from and --delete mutually exclusive?

Matt McCutchen hashproduct at verizon.net
Mon Jan 30 21:28:19 GMT 2006


On Mon, 2006-01-30 at 11:33 -0800, Wayne Davison wrote:
> + /foo/
> + /foo/bar/
> + /foo/bar/baz
> + /foo/extra
> + /bar/
> + /bar/another
> - /foo/*
> - /foo/bar/*
> - /bar/*
> - /*

Am I missing something?  Once you've matched each file and directory you
want explicitly, can't you just exclude everything else like this?
        + /foo/
        + /foo/bar/
        + /foo/bar/baz
        + /foo/extra
        + /bar/
        + /bar/another
        - **
-- 
Matt McCutchen
hashproduct at verizon.net
http://mysite.verizon.net/hashproduct/



More information about the rsync mailing list