Skip to content

Instantly share code, notes, and snippets.

@ymollard
Created December 9, 2020 21:54
Show Gist options
  • Save ymollard/53b48633e7e7cadb394cec1c79ae9bbe to your computer and use it in GitHub Desktop.
Save ymollard/53b48633e7e7cadb394cec1c79ae9bbe to your computer and use it in GitHub Desktop.
Count files by extension
find -type f | rev | cut -d. -f 1 | rev | sort | uniq -c | sort -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment