/ Published in: Bash
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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
fgrep -i 'cookiemonster.html' `find . -iname '*.html' -print`