macOS command line tool to return the available disk space on APFS volumes
diskspace is a macOS command line tool to return the available disk space on APFS volumes. With the various APFS features the value for free disk space returned from tools such as du or df will not be accurate. This tool uses system functions to get various measures of available disk space.
diskspace is a macOS command line tool to return the available disk space on APFS volumes. With the various APFS features the value for free disk space returned from tools such as du or df will not be accurate. This tool uses system functions to get various measures of available disk space.
To install diskspace, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install diskspace
To see what files were installed by diskspace, run:
port contents diskspace
To later upgrade diskspace, run:
sudo port selfupdate && sudo port upgrade diskspace
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.