Documentation
include .txt
, .rst
and .yaml
. find . -type f | awk -F/ '{split($NF, a, "."); if (length(a) > 1) print a[length(a)]; else print "<no extension>"}' | sort | uniq -c | sort -n … several rare filetypes omitted for brevity … 9 sh 15 py 17 dot 74 svg 615 <no extension> 1707 txt 3298 rst 3604 yaml