#TERMINAL COMMAND TO CHECK DISK SPACE MAC HOW TO#
So, my problem is how to correctly parse it to get:įrom the output, I can't simply sum all the lines starting with: Read-Only Volume: Not applicable (not mounted)
![terminal command to check disk space mac terminal command to check disk space mac](https://i.stack.imgur.com/gAgEj.jpg)
Volume Free Space: 0 B (0 Bytes) (exactly 0 512-Byte-Units) Volume Total Space: 0 B (0 Bytes) (exactly 0 512-Byte-Units) Read-Only Volume: Not applicable (no file system) Volume Name: Not applicable (no file system)Ĭontent (IOContent): GUID_partition_schemeĭisk Size: 500.3 GB (500277788672 Bytes) (exactly 977105056 512-Byte-Units)
![terminal command to check disk space mac terminal command to check disk space mac](https://www.macobserver.com/wp-content/uploads/2016/08/Screenshot-2016-08-25-13.03.29.png)
![terminal command to check disk space mac terminal command to check disk space mac](https://cdn.osxdaily.com/wp-content/uploads/2009/10/list-mounted-drives.png)
On macOS High Sierra, with SSD formatted with APFS, I've got: diskutil info -all