Created
September 30, 2015 10:57
-
-
Save ryannealmes/93085f2e5fbf41cd157c to your computer and use it in GitHub Desktop.
Get directory file sizes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ du -sh /path/to/dir/*/ | |
48K /path/to/dir/dir1/ | |
4.0K /path/to/dir/dir2/ | |
6.7M /path/to/dir/dir3/ | |
20K /path/to/dir/dir4/ | |
8.0K /path/to/dir/dir5/ | |
44K /path/to/dir/dir6/ | |
Credit to http://superuser.com/questions/171534/list-the-current-folder-folders-sizes-with-the-terminal/171553#171553?newreg=0e154f897f58423793e8e11fe72e4c1f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment