Anzahl verschiedener Dateitypen zählen

manchmal sehr praktisch:

/tmp$ for i in `find -name "*.*" | sed 's/.*\.\(.*\)$/\1/' | grep . | sort -uf`; do echo "$i: `find -name \"*.$i\" | wc -l`"; done
pdf: 11
pub: 1
txt: 3

Revision #1
Created 2021-07-27 10:26:44 UTC by magenbrot
Updated 2021-07-27 10:26:58 UTC by magenbrot