Getting the size of all top-level folders

Getting the size of all top-level folders:

find . -maxdepth 1 -type d -exec du -hs {} \;

Leave a Reply

Your email address will not be published. Required fields are marked *