scripts/lsext

4 lines
118 B
Plaintext
Raw Normal View History

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