from the man pages:
Code:
-path pattern
File name matches shell pattern pattern. The metacharacters do not treat ‘/’ or ‘.’ specially; so, for
example,
find . -path ’./sr*sc’
will print an entry for a directory called ’./src/misc’ (if one exists). To ignore a whole directory tree,
use -prune rather than checking every file in the tree. For example, to skip the directory ‘src/emacs’ and
all files and directories under it, and print the names of the other files found, do something like this:
find . -path ’./src/emacs’ -prune -o -print