Closed sgmills closed 2 years ago
I saw some discussion in the MacAdmins slack, as well as the article here: https://scriptingosx.com/2021/11/the-unexpected-return-of-javascript-for-automation/ and the latest update to Grahm Pugh's erase-install script here: https://github.com/grahampugh/erase-install
It appears that by using JXA you can get a more accurate number including the purgeable space on the drive.
Thanks Sam! That's an interesting read that I haven't gotten to yet. Thanks for the PR!
I saw some discussion in the MacAdmins slack, as well as the article here: https://scriptingosx.com/2021/11/the-unexpected-return-of-javascript-for-automation/ and the latest update to Grahm Pugh's erase-install script here: https://github.com/grahampugh/erase-install
It appears that by using JXA you can get a more accurate number including the purgeable space on the drive.