I've been writing a wrapper class for 7-Zip with unit testing and a strange thing confronted me the other way: When I performed a query like this:
With -r- flag disabling recursion and * a wildcard ("files/*" being the files I want to compress), it still compressed all the files in the subdirectories of files. I found this behaviour a little strange and so did some other people on the Help forum, apparently. Unfortunantely, 7-Zip's maintainer Igor Pavlov says that (and I'm paraphrasing) the recursion parameter is for file wildcards like *.doc and *.txt (not suprisingly, he's right, those parameters do work). However, I think this is extremely counter-intuitive.
Can other people back me up on this claim? And if this really indeed the case (the behaviour of the recurse is incorrect), should I have the interface I provide for recursion transparently "fix" this bug (done by excluding files like: "files/*/")?
Edit - Fix AOL smurfing of r's