will give you the individual sizes of files (in K, but be aware that any proportion of a K which a file takes up is regarded as a full K for this purpose) with the name <filename>.<any extension>
Hopefully this will give you a start. I'll post back with a better solution (if I can think of one) if I get the time today.
And even though you didn't ask for it, this is for those who may be wondering: if you want to know which files/directories are taking the most space, use du -sk * | sort -n. This will sort the list from smallest to largest.
I tried this, but the only list I get out of this is a complete list of all the files with all the different extensions, and in front the size of each file, but anywhere the total sum of all the files.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.