Re: Proposed enhancements to rsync filters

2005-12-07 Thread Wayne Davison
On Tue, Dec 06, 2005 at 06:13:14PM -0500, Matt McCutchen wrote: > "+ mydir//" would be equivalent to "+ mydir" "+ mydir/**". Hmm. We do allow "**" to be empty in the pattern "+ **/foo" (matching /foo). So really, "+ mydir/**" should be enough to also match "mydir/" by itself. I don't see a down

Proposed enhancements to rsync filters

2005-12-06 Thread Matt McCutchen
I would like to propose some improvements to rsync's filters. (1) Add a notation that makes a pattern match both a file and everything under it if it happens to be a directory. One possibility: ending a path in //. "+ mydir//" would be equivalent to "+ mydir" "+ mydir/**". Just some syntactic su