Skip to content

Instantly share code, notes, and snippets.

@jms1989
Created July 13, 2019 23:12
Show Gist options
  • Save jms1989/6dce3c80fafafe6bec111ade53df4807 to your computer and use it in GitHub Desktop.
Save jms1989/6dce3c80fafafe6bec111ade53df4807 to your computer and use it in GitHub Desktop.
count extensions
find "$1" -type f | sed -e 's/.*\.//' | sort | uniq -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment