Monthly Archives: November 2011

How to find multiple patterns with GNU findutils

      2 Comments on How to find multiple patterns with GNU findutils

Actually, searching for multiple patterns should be a trivial task. Find provides a -o operator (and many others) that lets you combine multiple expressions. A simple Example: You want to find all files in the current directory whose filename extension are either .c or .h This is not limited to the -name test but can be combined with any other… Read more »