Help with complicated heirarchy exclude syntax

reader at newsguy.com reader at newsguy.com
Wed Dec 26 01:34:35 GMT 2007


Matt McCutchen <matt at mattmccutchen.net> writes:

> Then maybe you want to take only entirely numeric files (the exact
> opposite of your original scenario) rather than all files except
> entirely alphabetic ones.  To do that, you should replace
> --include='/nntp/**[!a-zA-Z]*' --exclude='/nntp/**' with
> --exclude='/nntp/**[!0-9]*' .

Yes, that is much better.  

My fuzzy thinking on this has caused me many a headache.  Its caused
you a few too I think...

All the flags of rsync give it an encredible versatility but it does
require some very carefull attention.




More information about the rsync mailing list