Return to Snippet

Revision: 36017
at November 16, 2010 18:28 by jarnaldich


Initial Code
find . -iname <file_pattern> -exec grep -n <text> {} \; -print

Initial URL

                                

Initial Description
Searches down the current directory every file whose name matches (case insensitively) {{file_pattern}} for the regexp {{text}}.

Initial Title
UNIX regexp search down a directory tree

Initial Tags
regex, search, unix, regexp, text, find

Initial Language
Bash