want a command to break down folder & subfolders by (A) size per file extension and (B) total size per file extension

cutepenguin

New Member
Credits
30
I have a folder containing many subfolders of stuff. Let's say it's /home/me/hodgepodge/

Is there a command I can run which will breakdown the contents by file extension I see number of files per file extension and total size per file extension. Let's say I don't want to manually type each file extension in the terminal.

For example,

*.txt 23 files, 10.2MB
*.pdf 8 files, 23.2MB
*.db 3 files, 2.3MB
*.cbz 24 files, 2.3GB
*.html 2,508 files, 43.9MB
*.readme 13 files, 4KB



Top
 


Members online


Top