Return to Snippet

Revision: 2235
at January 19, 2007 09:15 by benatkin

Initial Code
fgrep -i 'cookiemonster.html' `find . -iname '*.html' -print`

Initial URL

Initial Description
Searches all HTML files in current directory and subdirectory for the string "cookiemonster.html". Can be used to find which pages link to a page. Further tweaks can find which source files directly include a file. Both file names and the search string are case insensitive.

Initial Title
Grep for a string in all files in a directory and its subdirectories with a certain extension

Initial Tags

Initial Language