#du on Directories with Spaces
To get the sizes of all subdirectories including the hiddsn ones I typically use the command:
du -sh $(ls -A)
However, this command does not work well if you have directory names with spaces. Here is how you can do it:
find . -maxdepth 1 -print0 | xargs -0 -n1 du -s
or if you want the result nicely sorted nicely and human-readable:
find . -maxdepth 1 -print0 | xargs -0 -n1 du -sh | sort -h