How to find all file extensions recursively from a directory?

How about this:

find . -type f -name '*.*' | sed 's|.*\.||' | sort -u

Leave a Comment