Skip to content

Instantly share code, notes, and snippets.

@jteneycke
Created April 5, 2013 23:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jteneycke/5323379 to your computer and use it in GitHub Desktop.
Save jteneycke/5323379 to your computer and use it in GitHub Desktop.
Return every file in a directory that matches the html file type, even if it's missing it's extension.
for f in `find . -type f`; do file "$f"; done | grep "HTML document" | cut -d ":" -f 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment