Skip to main content

How to Keep a Mac's Hard Drive Clean

Image result for mac's hard drive Image result for mac's hard drive
Aside from a few iMac and Mac mini models, every new Mac comes with an SSD as standard. This is great if you love having a blazing fast computer, but not so good if you want to be able to store hundreds of movies on it without taking out a second mortgage.
For a few years, large HDDs were the standard so you just didn’t have to worry too much about space constraints. Now, you’re lucky to have more than 500 GB of usable space to play with. 
As well as drives getting smaller, files are getting bigger. Things like HD, or high definition, movies and photos from DSLRs take up massive amounts of storage. I'll show you how you can take control of a Mac’s hard drive space.
Before going all trigger happy with the delete key, it’s important to make sure you can’t accidentally erase anything important. Run the Mac through its usual backup routine.
If you don’t have a backup plan set up, you should check out and implement the tutorials below before continuing with this one.
Most of the files on any Mac don’t actually take up that much hard drive space. You can delete all the Word documents you like but you’re never going to free up more than a few hundred megabytes. On the other hand, a singlePhotoshop file can take up five or six gigabytes. 
Before deleting anything you need to identify the space hogs that are worth removing.
Not all big files are easy to find with the file system. User caches, iOS updates, backups and temporary files can take up a huge amount of space. 
To make sure you find everything, you need to use a specialised app like Daisy Disk or Clean My Mac.
daisy disk
Daisy Disk shows what files and folders use the most space.
Daisy Disk, which costs $9.99, takes a hands off approach to managing your SSD. It uses an attractive graph to break down what files and folders are taking up the most space. You can then drag any you want to get rid of to a collection bucket and delete them.
Clean My Mac costs $39.95, a lot more than Daisy Disk, but it also does a lot more. It can scan your disk and identify various different forms of System Junkas well as big files. If you want an app that will find and delete all the caches for you, it’s the one to use.
Once you’ve identified the worst space hogs, it’s time to deal with them. You have three choices with each one: keep it, store it or delete it.
For any file you want to have on the Mac, the only choice is to just keep it where it is. For example, even though my working Lightroom catalogue is huge, I keep it on my Mac because I need to have access to it.
Photos are by far the biggest space hog on my Mac.
For the files you want to keep around but don’t need to have immediate access to, you should set up a storage system. 
A Network Attached Storage (NAS) device, desktop computer or even just a few spare external hard drives will work. Move the files to their new location and then delete them from the Mac. Make sure to back up the storage locations after you move data to them. This is what I do with any older photos.
For the files you don’t need anymore and won’t need in the future, delete them. You can use Daisy Disk or Clean My Mac to do it for you, or just throw them in the Trash from Finder. I do this regularly with Photoshop caches which can grow to 30 or 40 GB if I’m working on some big projects.
While Daisy Disk or Clean My Mac can deal with the most obvious space hogs, there’s one area where they fall down: finding duplicates.
At one point, I had three copies of the same 15 GB photo library sitting on my Mac. 10% of its storage space was taken up with just a few hundred images. 
Most people won’t have a duplicate problem quite as bad as this but, if you move files around and forget to delete the originals, it’s easy to waste a surprising amount of space with the same few files.
The free version of Gemini will work for most people.
Gemini, from the same developer as Clean My Mac, makes dealing with duplicates easy. It costs $19.95 but there is a free trial. The main difference is that the full version of Gemini will delete files for you while with the trial you’ll have to go in and do it yourself. If you’re only trying to get rid of a few files, the free version will work perfectly for you.
While everything above will work fine if you’re just deleting files to create space, if you’re deleting files for security reasons things get a bit more awkward. It also depends on whether you’re trying to erase a whole drive or just a handful of sensitive files.
The easiest truly secure, 100% guaranteed way to wipe an entire hard drive uses a drill bit and a lot of centripetal force. Unfortunately, if the drive still works after you’re done, you’ve messed up. 
To keep it usable, you can overwrite the entire drive with random data twice. This should work as long as the drive controller doesn’t use a weird data allocation strategy. One drawback is that it can reduce the lifespan of the drive.
disk util
Disk Utility can't securely overwrite SSDs. You need to use the Terminal to do it.
To overwrite an SSD with random data, connect it to your Mac. If it’s another Mac’s primary drive, use Target Disk Mode. Open Terminal and run the command diskutil randomDisk 2 /dev/diskNumber.
Securely deleting a handful of sensitive files is next to impossible without overwriting the entire drive. SSDs don’t store data on a magnetic platter like HDDs do. The physical location of data on an SSD changes regularly. 
With a HDD, you can instruct the Mac to overwrite the area of the platter where the sensitive data is stored. With an SSD, doing this will flag the area where the data is stored as invalid, however, the new data will be written to a different area rather than over the top of the old data. 
Over time the SSD will cycle back and overwrite the old data but you have no control of the process. In the meantime, if someone gets access to the drive they can theoretically read any flagged data that hasn’t yet been overwritten.
To avoid this situation, the best solution for sensitive information is to keep it encrypted. That way you can delete it as normal and it will be impossible for someone else to recover it, unless they some how end up with the encryption keys.
SSDs are awesome but the lack of storage space is a major trade off. Fortunately, prices are falling and drives are getting bigger so in the next few years we’ll reach a point where there's no longer the need to worry about storage space. Until then though, you’ll have to occasionally free up space on a Mac.


You may also want to read these ⤵️

Referee kills player in a football match

A referee is facing murder charges after football players allegedly forced him to

Do not watch this while driving

Kids are lovely and fun to watch most times. I know most of you did this and so many other funny stuffs as a kid. Feel free to share yours... Do not watch this while driving

Over 40 Million Accounts Found Guilty

Microsoft has uncovered 44 million user accounts using usernames and passwords that have been leaked through security breaches.

RAW TALENT ep1 (freestyle by Gdlpeid)

Just watch! Freestyle by ''Gdlpeeid''. A rapper with a difference.  Pure raw talent.

These 10 Powerful Words And Phrases Defined The Decade

Honestly, it has been a wonderful decade to remember.  A lot has happened and a lot has been spoken also. But our focus is on the words and phrases spoken.  Below are words and phrases spoken between 2010 - 2019 that defined the decade.....

By February 2020 - WhatsApp Will Stop Working on These Phones

Every now and then, WhatsApp does fish out a list of old phones for which support is discontinued and if you have an old phone lying around as a backup, you might want to read on.

Apple Has Released iOS 13.2.2 And Fixes Major Issue

All thanks to Apple,  the tech  giant just released iOS 13.2.2, which addresses the issue of background apps being killed prematurely, along with a handful of other annoyances.

This Magnetic thread Can Be Used To Clear Blood Clot in The Brain

Link from  Researchers at MIT developed a thread that can be steered magnetically to glide through the brain's blood vessels and

This gigantic monster device turns wave energy into electricity

This 826-ton buoy was developed by OceanEnergy to turn wave energy into electricity. IEEE Spectrum reported that "OE Buoy" was towed from Oregon to Hawaii, where it will undergo a series of tests that will prove whether it can withstand the battering waves while generating electricity. Click the link below to watch the video..

Lionel Messi Barcelona exit date revealed

The Barcelona Legend has decided on when he wants to quit the club and even has a successor in his mind already.