Skip to content

Instantly share code, notes, and snippets.

@dukeofgaming
Created June 9, 2014 04:09
Show Gist options
  • Save dukeofgaming/90041eed50cbf1ec6f66 to your computer and use it in GitHub Desktop.
Save dukeofgaming/90041eed50cbf1ec6f66 to your computer and use it in GitHub Desktop.
List all binary files' extensions under a directory
#List all binary files' extensions under a directory
find . -type f|xargs file|grep -v text|sed -r 's:.*\.(.*)\:.*:\1:g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment