I'm getting output from du -h like the following:103M    ./.wine/drive_c/windows/mono/mono-2.0/lib/mono103M    ./.wine/drive_c/windows/mono/mono-2.0/lib129M    ./.wine/drive_c/windows/mono/mono-2.0129M    ./.wine/drive_c/windows/mono362M    ./.wine/drive_c/windows545M    ./.wine/drive_cI'd like to only show the most actionable folder, which is the folder ./.wine/drive_c/windows/mono/mono-2.0/lib/monoIs 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.
DU: only show folders at depth
disk usage
If you are using GNU du you can use the -S or --separate-dirs option to not include the size of subdirectories when calculating the usage for the parent.Your du command may not support this option.You can use this couple with sort to get the largest individual directories (assuming GNU tools):du --separate-dirs -h . |sort -h