I found that there is no easy to get way the size of a directory in Bash?
I want that when I type ls -, it can list of all the sum o
ls -
Apparently --max-depth option is not in Mac OS X's version of the du command. You can use the following instead.
--max-depth
du
du -h -d 1 | sort -n