scripts/lsext
2020-07-30 15:44:20 +02:00

4 lines
118 B
Bash
Executable File

#!/bin/env sh
find "${1:-.}" -maxdepth ${2:-1} -type f | sed -e 's/.*\.//' | tr [:upper:] [:lower:] | sort | uniq -c