search

Monday, May 8, 2017

Get size of the subfolders

Use this command to print size of the subfolders:
du -sh *
If you want to exclude Permission denied errors, for example:
du -sh * 2>/dev/null