diff --git a/lsext b/lsext index 2ebf547..1290723 100755 --- a/lsext +++ b/lsext @@ -1,3 +1,5 @@ #!/bin/env sh +# list all extentions in a folder up to a certain depth and sort by frequency +# lsext $folder $depth find "${1:-.}" -maxdepth ${2:-1} -type f | sed -e 's/.*\.//' | tr [:upper:] [:lower:] | sort | uniq -c