Home » Tech » Linux » determine Linux directory sizes
          

determine Linux directory sizes

Summarizes size of home folder excluding Dropbox, Downloads, Videos, Trash:
du -sh --exclude "Dropbox" --exclude "Downloads" --exclude "Videos" --exclude "Trash" ~/
 

Shows size of subfolders (1 deep) with same excludes:
du -h -d 1 --exclude "Dropbox" --exclude "Downloads" --exclude "Videos" --exclude "Trash" ~/