Mac terminal show folder size

In this article let’s discuss about Mac terminal show folder size. Let’s go through the following methods without any delay.

Method 1:

$ du -sh */
788K    foo/
500K    bar/
931K    baz/

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar but have a try!

Method 2 :

du -sh *

Hope the above solution works.

Realted Posts : Deploy all file and subfolder git cpanel