Skip to content

Instantly share code, notes, and snippets.

@mlsteele
Last active August 29, 2015 14:01
Show Gist options
  • Save mlsteele/fe707f0f3670ec5b0a57 to your computer and use it in GitHub Desktop.
Save mlsteele/fe707f0f3670ec5b0a57 to your computer and use it in GitHub Desktop.
file extension histogram
#!/usr/bin/env bash
find . -type f | grep "." | grep -v ".git" | sed "s/.*\.\(.*\)/\1/" | sort | uniq -c | sed "s/^[ \t]*//" | sort -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment