4 ms·
"I used CleanMyMac to clean my disk thoroughly, but there is not enough space. After analysis, it was found that the development tools and the compilation resul
by anta40 4y ago
"I used CleanMyMac to clean my disk thoroughly, but there is not enough space. After analysis, it was found that the development tools and the compilation results left over from many projects took up a lot of disk space. At that time, I wrote a shell script to clean up, and as a result, 30GB of disk space was recovered, and the system was successfully upgraded."
This is weird. With CleanMyMac, I can easily scan subfolders and their sizes. If the size is, say > 3 GB, I immediately check it. Certain folders like homebrew or Android Studio cache are safe to be deleted.
I'dl like to know cases where CleanMyMac may fail.
- aiyanbo 4y agoMany build tools write caches to hidden folders in the home directory. You can see them with ls -a. e.g. .npm, .sbt, .gradle, .cargo etc. The compilation result of the code is often in the root directory of the project, such as maven, the sbt project will be written to the target directory, and the cargo project will be written to the build directory. The cache files mentioned above cannot be scanned and cleaned by CleanMyMac.
- secretsatan 4y agoI've always been a bit suspicious of clean apps for mac, maybe because there was a notorious scammy one that pushed doddgy adverts everywhere. There's now a pretty good mac clean up tool built in to macos. From the apple menu: About This Mac -> Storage -> Manage... It breaks down the file system in various ways, one of which is developer files where you can clean build folders and caches, uninstall SDKs and a few other things