How to determine the total size of a directory from the terminal?
The command du “summarizes disk usage of each FILE, recursively for directories,” e.g., -h is to get the numbers “human readable”, e.g. get 140M instead of 143260 (size in KBytes) -s is for summary (otherwise you’ll get not …
How to determine the total size of a directory from the terminal? Learn More