I'm getting output from du -h
like the following:
103M ./.wine/drive_c/windows/mono/mono-2.0/lib/mono
103M ./.wine/drive_c/windows/mono/mono-2.0/lib
129M ./.wine/drive_c/windows/mono/mono-2.0
129M ./.wine/drive_c/windows/mono
362M ./.wine/drive_c/windows
545M ./.wine/drive_c
I'd like to only show the most actionable folder, which is the folder ./.wine/drive_c/windows/mono/mono-2.0/lib/mono
Is there any way of removing the parent folder if a child folder is responsible for most of the disk space usage?
A setting to only show leaf folders might do the trick, or a setting to subtract the size of all subfolders from a parent folder when calculating the size of the parent folder.