#How to check space on mac using terminal how to
If you don’t know how to do that check out this article. If your going to be doing this to a remote location – ssh to that server.It lets you do everything you can in Disk Utility from the command line: List partitions, Unmount/mount drives, verify and repair drives. The application is called diskutil, essentially it’s DiskUtility.app without the gui goodness and is perfect for my setup since VNC is painfully slow. Hopefully it will help you out as much as it has me. Most of the problems I seem to encounter have to do with messed up file permissions in OS X Tiger, so this comes in really handy for me.
It’s pretty handy and works well with both OS X Server and regular OS X. See Optimize storage space.In my quest to use VNC less, I’ve come across a pretty helpful command line application to check the health of my server’s disk drives. To save additional storage space, use the custom storage recommendations for optimizing storage on your Mac.
#How to check space on mac using terminal free
Available storage space includes free storage space and purgeable disk caches (disk space might be both available and used at the same time). Free storage space is physically open space on a disk. The remaining space is free storage space. You can manage your data that falls outside the other categories using Finder or the 3rd party apps that created it. The contents are managed by macOS, and the category varies in size depending on the current state of your Mac. You can’t manage the contents of this category. Also included are temporary files, fonts, app support files, and plug-ins. This category primarily includes files and data used by the system, such as log files, caches, VM files, and other runtime system resources. System Data: Contains files that don’t fall into the categories listed here.
Examples include Mail, Terminal, and Calculator. MacOS: Contains macOS system applications and files. Other Users: Contains files created and modified by other user accounts on your Mac.
Note: If you partitioned your hard disk, Trash size is provided for the Trash on the disk macOS is installed on (the startup volume). Trash: Contains items you deleted (items deleted from iCloud Drive are not included in the amount of storage space). Photos: Contains your System Photo Library (see the Apple Support article Designate a System Photo Library in Photos). Music Creation: Contains content from GarageBand, Logic, and MainStage. Messages: Contains content from Messages conversations, including attachments. TV, Music, Books, and Podcasts: Each app category contains purchases from that specific app, which can be removed from your Mac and downloaded again. IOS Files: Contains iOS backups and firmware. It may also contain files in your Desktop and Documents folders if you store them in iCloud Drive. ICloud Drive: Contains all files stored in iCloud Drive. It also includes videos and photos that are not managed by your photo library (for example, an image that a friend shares with you using AirDrop). Note: If you partitioned your hard disk, this category shows the amount of storage for apps installed on the macOS partition (the startup disk).ĭocuments: Contains files in your home folder that aren’t included in other categories, such as Pages documents and PDFs.