for file in $(ls *.*); do base=$(basename $file); echo ${base##*\.};done | sort | uniq -c | sort -n -r 37 tsv 18 pdf 17 txt 7 err 5 log 5 png
Here I see that there are some log files that can be removed (if no longer needed).
This is mainly somewhere for me to dump interesting tidbits of tech info. Stuff that I may forget but will need again in the future. For a proper blog, visit my electronics blog (http://www.fangletronics.com) or my wife's pre-school crafty blog (http://www.filthwizardry.com).
for file in $(ls *.*); do base=$(basename $file); echo ${base##*\.};done | sort | uniq -c | sort -n -r 37 tsv 18 pdf 17 txt 7 err 5 log 5 png
No comments:
Post a Comment