Skip to content

Instantly share code, notes, and snippets.

@esebastian
Created September 3, 2014 11:24
Show Gist options
  • Save esebastian/30e9111c63c2292742d2 to your computer and use it in GitHub Desktop.
Save esebastian/30e9111c63c2292742d2 to your computer and use it in GitHub Desktop.
Print the list of different extensions from the files in a folder and its subfolders
find . -type f -name '*.*' | sed 's|.*\.||' | sort -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment