Last Updated: February 25, 2016
·
485
· aymanfarhat

List all distinct file extensions in a directory in Unix

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