linux command line: du --- how to make it show only total for each directories
Solution 1:
This works with coreutils 5.97:
du -cksh *
Solution 2:
On my version of du (from coreutils 8.14) this works:
du -h -d 1
-h is for human readable sizes.
Solution 3:
The following did the job for me:
du -hs */
Without the trailing slash the output was not restricted to directories.