Last Updated: February 25, 2016
·
560
· aymanfarhat

List all distinct file extensions in a directory in Unix

find . -type f -name "*.*" | awk -F. '{print $NF}' | sort -u