Find and count files categorized per file extension:
find . \( -name . -o -prune \) -type f | sed -n 's/..*\.//p' | sort -f | uniq -c
July 15, 2015
Comments Off on Find and count files
Find and count files categorized per file extension:
find . \( -name . -o -prune \) -type f | sed -n 's/..*\.//p' | sort -f | uniq -c