A macOS customer contacted me the other day asking how to clear other storage in macos. Some of the customer’s laptops were taking significant disk space in this ‘other’ mysterious storage.
While riding the New York City Subway I started researching how to clear other storage in macos.
There are some cleaning tools out there, but as usual I prefer to do things myself and learn while at it. I found out that Cache files, documents not needed, DMG files, Application logs and Support files, browser’s plugins and extensions form part of this ‘other storage in macOS’.
Delete cached files using the Terminal
- Open your Terminal
- Type ~/Library/Caches (this is the user’s path)
- Remove the cache files you want to delete by using the rm command
- You can also try /Library/Caches(system caches)
I highly recommend that you have a backup before running the above.
Remove unneeded files including DMG one
- Open Finder and search using the upper right corner icon
- Type .dmg in the box and select Disk Image for Kind
- Delete any DMG files and remember to empty your Trash
- You can do the same process for other files such as .pdf, .doc, .psd and more..
- Always select ‘This Mac’ when searching for large files.
- You can always sort by File size.
Remove Application Logs and Support Files
- Open your Terminal or use Finder if you like
- Browse to these locations:
- ~/Library/Application support
- /Library/Application support
- Now delete what you don’t need.
Delete your browser’s plugin and extensions
- Go to each browser and locate plugins/extensions
- Delete the ones you don’t need.