Disk Usage syntax please
I am trying to get some disk usage figures.
If I have structure like this
dir1/subdir1
dir2/subdir2
dir2/subdir1
dir2/subdir2
dir2/subdir3
Doing a du -h shows me all, files, subdirs, too much.
doing a du -skh shows me the total size for the whole parent dir but no breakdown of subdirs
doing a du -skhS shows me the dirs but the subdirs as well so still a bit too much.
I want to see the totals for the top dirs dir1 and dir2 only not broken down into subdirs as well.
Any way I can get this view?
Thanks,
|