Created
January 22, 2021 04:20
-
-
Save taynguyen/9e46f21ffaeee79d21d0d38f5d85efc9 to your computer and use it in GitHub Desktop.
How I cleanup about 150 Gb storage of my macbook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How I cleanup about 150 Gb storage of my macbook. | |
- Currently, I used mac book that have 256Gb SSD. On an beautiful day, I opened the Storage check, and see that I only have 30Gb left. That's quite shocking. This is my working laptop, shouldn't have any thing that too heavily effect on volumn. | |
After some check I found that 2 big monster that eaten my volume: | |
- Docker: When you used docker, after a while, you would have tons of images, containers, volume, those things are very big on size. So, I use `prune` to clean up all my obsoleted images, containers, volumes. | |
- The Cache: The mother of monster is here: `/Users/<your_username>/Library/Caches/`. So, I run: `rm -rf /Users/taynguyen/Library/Caches/`, it takes about 15mins to completed. | |
Boom, I recovered about 140Gb of my SSD. | |
What's fun thing. :D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment