Do be careful though. The standard
-name/-iname options use globbing patterns, but only apply matches to the basename of the file. But the
-regex options apply to the entire path. To quote the man page:
Code:
-regex pattern
File name matches regular expression pattern. This is a match
on the whole path, not a search. For example, to match a file
named `./fubar3', you can use the regular expression `.*bar.' or
`.*b.*3', but not `f.*r3'. The regular expressions understood
by find are by default Emacs Regular Expressions, but this can
be changed with the -regextype option.
Check out the TESTS section of the find man page for more options.