List Sizes of Subfolders in MacOs

To show the size of subfolders in macOS, you can use several methods. Here are three common methods: using Finder, Terminal, and a third-party application.

Method 1: Using Finder

Open Finder: Navigate to the folder where you want to check the size of subfolders.

Enable Size Column:

Go to View in the menu bar and select as List to switch to list view. Then, go to View again and select Show View Options (or press Command + J). In the View Options window, check the box next to Calculate all sizes. This will display the sizes of all subfolders in the Size column. Wait for Calculation: Finder will now calculate the sizes of subfolders. This might take some time depending on the number and size of the files.

Method 2: Using Terminal

Open Terminal: You can find Terminal in Applications > Utilities > Terminal.

Use du Command: Type the following command and press Enter:

du -sh */

This command will display the sizes of all subdirectories in the current directory. Here’s what the options mean:

-s: Summarize the total size of each argument (subdirectory in this case). -h: Print sizes in human-readable format (e.g., K, M, G for kilobytes, megabytes, gigabytes).