ubuntu config
Thursday, September 23, 2010
Mercurial pattern matching example
This is how to remove all .o and .a files in a mercurial repo:
hg remove -I "glob:**/*.o" -I "glob:**/*.a" **
Edit:
The file patterns must be enclosed in double-quotes "" (at least on Windows). Single-quotes will not work.
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)