카테고리 없음

linux find extension

een 2021. 2. 22. 11:21

find . -type f | perl -ne 'print $1 if m/\.([^.\/]+)$/' | sort -u

 

stackoverflow.com/questions/1842254/how-can-i-find-all-of-the-distinct-file-extensions-in-a-folder-hierarchy