Note: The 69G system shown in the article is a screenshot after I cleaned it up. At the beginning, the system occupied 134G, but only 2G was available, and I received reminders from time to time. The result now is that it can reach 87G.
The method is as follows:
1. Check the mac apple icon, click [About this machine]
< img alt="Mac computer system accounted for more than 100G how to find useless files" src="/wp-content/uploads/images/hardware/macbook/1626799820817.png" >
2. Click [Save Space]
When When you hover the mouse on the bar, the space occupied by each item will appear.
3. View the space. Then click [Manage]
< /p>
4. The system accounts for 74.79G
5. Click [Check File]
6. Click [File Browser]
7., can see every Directory size.
There is a system on the left, which shows that it accounts for 69.7G. But it cannot be opened.
p>
8. Which directory is the system?
Click Finder, on the left, the computer icon under Location. Enter the mac disk.
9. See [System]
Click to open the [System] directory
10. Right-click [Display Introduction] to view the size and name of each directory.
p>
11. The sum of the sizes checked in this way is less than the previous sum. Explain that a part is not calculated.
12. Back to the terminal. input the command.
Because by right-clicking [View Profile], I know [Resource Library], called Library
cd ~/Library
Using the command du -sh *
You can list the size of each directory .
p>
- You see that the Android directory above me occupies 42G.
Look for it one after another. See what these files are for and if there is any need to keep them.
Finally found, /Users/mac/Library/Android/sdk/system-images accounted for 36G.
Google it, this is for the simulator, you can leave one or not. I left a 2G one.
34G free up here.
This is the command method.
Above, use to view [About this machine], when you find a directory that takes up a lot of space. You can also go back to the terminal and use the command to find it again.
Finally, I found 6G. It was a log file in the Mysql directory. At the end of .log.
p>
Although there are many directories for online articles, the actual situation of each person will be different. So you still have to find it yourself.
If you don’t understand this question, you can add QQ group: PHP technical question and answer group. We will try our best to answer for you.