lsext: add description
This commit is contained in:
2
lsext
2
lsext
@ -1,3 +1,5 @@
|
|||||||
#!/bin/env sh
|
#!/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
|
find "${1:-.}" -maxdepth ${2:-1} -type f | sed -e 's/.*\.//' | tr [:upper:] [:lower:] | sort | uniq -c
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user