Created
May 29, 2015 08:37
-
-
Save olimortimer/75361ce5959045fd1f5f to your computer and use it in GitHub Desktop.
Shell: Find unique file types
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find all file types recursively within a directory | |
find . -type f | perl -ne 'print $1 if m/\.([^.\/]+)$/' | sort -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment