Last Updated: February 25, 2016
·
557
· aymanfarhat

List all distinct file extensions in a directory in Unix

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