Please click the Apple icon in the upper left corner of the screen, and then click the "About this machine" option.
02
Then in the information window about the machine that opens, click the "Save" column at the top.
03
Then you can see the total space of the current Mac computer hard disk, as well as the used space and available space. In addition, if you have installed Windows system on your Mac, you can also see its corresponding usage space.
04
If you want to see more information about the disk, you can click the Disk Utility button in the lower right corner.
05
In Disk Utility, you can learn more disk information about the current Mac computer.
develop
Method 1: Delete emacs- 60MB+ hard disk space can be saved.
If you don't know what Emacs is, you can safely delete it. Emacs is a text editor in the terminal. If the SSD space you use is too small, deleting it is a good choice. In addition, you can use vi and nano to edit text in the terminal. The following is the command to delete Emacs:
sudo rm -rf /usr/share/emacs/
Method 2: delete the system voice file-it can save 500m b-3m b+ hard disk space.
If you don't use the text-to-speech function, then of course you won't use the built-in voice files in OS X. You can delete these files to regain hard disk space. In a terminal application, you can use the following commands. First, navigate to the folder where the file is located:
CD/ system/library/voice/
Then execute the delete command to delete all voice files.
Sudo rm -rf voice/*
If you execute this command, you will not be able to use the text-to-speech conversion function of the system.
Method 3: Delete all system logs-you can save 100MB-2GB hard disk space.
As you use your Mac more and more, there will be more and more system log files, and more and more according to your computer usage, errors, services, etc. These system log files are used for debugging and troubleshooting. If you feel useless, you can delete them with the following command:
sudo rm -rf /private/var/log/*
System log files are constantly generated, so you can execute this command regularly.
Method 4: Delete the cache file generated by the browse-you can save1300mb-300mb hard disk space.
The quick view function is the built-in file preview function of OS X system. After selecting any file in the Finder, you can click the blank space to view the details of the file. However, the quick view function depends on the caching function to be smoother, and these cached files will continue to increase. Delete the cached code by the following command:
sudo rm -rf /private/var/folders/
Method 5: Disable SafeSleep sleep mode-it can save 4GB- 16GB space.
The following command can turn off the native sleep function of OS X, namely SafeSleep. This sleep mode will store the contents of the memory in the sleepimage file on the hard disk when the Mac sleeps or has no power. The sleepimage file is as big as the memory of a Mac computer, which means that if your memory is 4GB, the file will have 4GB, and if it is 16GB, the file will have 16GB. Turning off secure sleep will prevent the system from automatically creating files. The disadvantage is that when the Mac computer has no battery, you can't go back to the previous state. However, when the battery is running out, we can use the automatic saving function of OS X to save our work.
If we want to disable the safe sleep function, we need to enter the following command in the terminal:
Sudopset-a sleep mode 0
Then navigate to /private/var/vm/ and delete the existing sleepimage file.
cd /private/var/vm/
Use the following command to delete files.
Sudorum sleep image
Finally, we want to prevent OS X from continuing to create this file, so we need the following command to generate an empty file that cannot be replaced.
Touch sleep image
chmod 000/private/var/VM/sleep image
Of course, if you want to restart the SafeSleep function, you only need the following command.
Sudopset-a hibernation mode 3
sudo RM/private/var/VM/sleep image