bash - How to find all file extensions recursively from a directory? - Stack Overflow

PHOTO EMBED

Sun Aug 07 2022 02:59:42 GMT+0000 (Coordinated Universal Time)

Saved by @katz9 #bash

ls -1R | sed 's/[^\.]*//' | sed 's/.*\.//' | sort | uniq -c
content_copyCOPY

https://stackoverflow.com/questions/4998290/how-to-find-all-file-extensions-recursively-from-a-directory