4
I want to analyze disk usage by file type, if possible also sort and find. In other words, the output of the file utility as criteria for the analysis or the sort.
So regardless of file name, the command or script should look into the file, determine its type, and make the sort or disk usage analysis based on the result.
Is there an easy way to do this?
Looks useful and works perfectly. I'd love to upvote you, but I am not allowed yet. – emk2203 – 2014-10-11T11:27:02.380
Don't worry you'll be able soon, just need a little more rep. You should be able to mark the answer as accepted though, since it's your question. That earns you some rep even i think :) – lemonsqueeze – 2014-10-11T19:48:14.670
It's been a while, but with enough reputation, I upvoted you now. :) – emk2203 – 2017-09-18T20:06:33.920