Skip to content

Instantly share code, notes, and snippets.

@madansr
Created November 20, 2013 17:49
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save madansr/7567738 to your computer and use it in GitHub Desktop.
Save madansr/7567738 to your computer and use it in GitHub Desktop.
Get a list of all file extensions in a directory.
find . -type f | awk -F'.' '{print $NF}' | sort| uniq -c | sort -g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment