How do I clear more space on Mac and delete the incomplete download from App Store
first of all, take a look at your file system and how much space they occupy. type this command in a terminal:
Remove the indesirable files
du -sh *
then remove the files that you don’t need
rm -rf <directory-name>
or
rm file-name
Remove The caches.
type this command in a terminal:
cd ~/Library/Caches
clear the purgeable area
create a huge file that will force macOS to clean purgeable files to free you space. type this command in a terminal:
dd if=/dev/zero of=~/hugefile bs=15m
It will create a file called hugefile in your home folder
This command takes a long time to allocate the memory, you can also stop it when it’s 5~10GB and duplicate the file CommandD to create copies and speed up the process.
Then, you just need to delete the files, obviously.
rm hugefile
That’s it :) … ˆ-ˆ