Mac App Wipe Free Space

After reading that title, you must be asking yourself: How will I delete hard drive space that is already ‘free’?

May 26, 2020  Choose Apple menu  About This Mac, then click Storage. Each segment of the bar is an estimate of the storage space used by a category of files. Move your pointer over each segment for more detail. Click the Manage button to open the Storage Management window, pictured below.

Mac
  • Oct 10, 2019  Delete/Clear Purgeable space on Mac: Clear Disk Space on Mac How to Check Purgeable Space on Mac. Step #1: Click on the “Apple” menu. Step #2: Open “About This Mac”. Step #3: There, click on the “Storage” tab. Grey Allotted space showing purgeable space.Delete Data from purgeable space we can release Without Terminal Command or Using Terminal Command.
  • Apr 28, 2016  What the “ Erase Free Space ” feature did (and still does in prior versions of Mac OS X) was overwrite the free space on a drive to prevent file recovery, adding a layer of security and privacy to file removal, much in the way that Secure Empty Trash performed a.
  • Jul 12, 2018  Securely Wipe the Free Space on Your Mac Using CCleaner CCleaner for Mac has fewer tools available than CCleaner for Windows. But you can use it to securely wipe the free space.
  • Jun 19, 2018  To free up disk space, it’s helpful to know exactly what is using disk space on your Mac. A hard disk analysis tool like Disk Inventory X will scan your Mac’s hard disk and display which folders and files are using up the most space. You can then delete these space hogs to free up space.
  • You will have to use the Disk Utility app provided by your Mac OS X to erase free space on Mac hard drive. It offers you the chance to overwrite on the free space left on your hard disk so that no one is able to retrieve the data that was previously stored on it.

Well, you might not know this, but once you delete any file from your Mac the usual way, the file actually remains there, only that it is no longer usable by your Mac. Then, when you add more files to your Mac, they ‘overwrite’ the space taken by those unusable files that you deleted previously.

What this means is that an advanced user who might come into possession of your Mac can actually recover files that you have deleted previously. Unless, of course, you delete them securely first.

For this, using the Terminal utility is perhaps the best way out, since it allows you much more control over what you are doing.

Important Note: Always remember to use Terminal ONLY when you are confident in what you are doing, since a simple mistake when using this utility can cause some serious damage to your Mac.

So let’s learn how to securely erase all that free space on your Mac’s hard drive with Terminal.

First, here is the Terminal command we will be using. Just keep it there for now, since you will need to slightly change it before proceeding.

diskutil secureErase freespace 1 /dev/disk0s2

This is because this command uses slightly different values for each Mac, so before using it on Terminal, you will have to find the exact values for your Mac first.

– The first value to change is the number ‘1’. You can actually choose between ‘1’, ‘2’ and ‘3’ here. Using number ‘1’ erases your disk’s free space using a random single pass (one ‘pass’ means that the system overwrites the deleted files once). Number ‘2’ uses a 7-pass secure erase and number ‘3’ uses a special algorithm to perform a huge 35-pass secure erase.

Obviously, the higher the number you choose, the longer the process will take. Usually, using numbers ‘1’ or ‘2’ should be more than enough to perform a safe erase.

– Now, the second value you need to know is the Identifier number of the disk where you want to perform the process. For this, open Terminal and copy and paste this command:

diskutil list

This will display a list of all your Mac’s hard drives. What you need to copy is the Identifier number beside your selected disk. In my case, I want to securely erase the free space on the disk with 120.5 GB, so its Identifier number would be ‘disk0s2’.

Mac App Wipe Free Space Game

With this information, you can now use the first command from above:

diskutil secureErase freespace 1 /dev/disk0s2

Just make sure to keep the number on ‘1’ or to change it to either ‘2’ or ‘3’ depending on how secure you want the erase process to be. Also, change ‘disk0s2’ to your hard drive’s own Identifier number. Once ready, press Enter/Return.

After you do, just sit back and watch Terminal do its magic securely erasing all your hard drive’s free space.


The above article may contain affiliate links which help support Guiding Tech. However, it does not affect our editorial integrity. The content remains unbiased and authentic.Also See#hard disk #terminal

Did You Know

Google has an embedded timer which you can access by typing 'Timer' on the address bar.

More in Mac

How to Enable and Use Breakout Rooms in Zoom

Optimized Storage in macOS Sierra and later* can save space by storing your content in iCloud and making it available on demand. When storage space is needed, files, photos, movies, email attachments, and other files that you seldom use are stored in iCloud automatically. Each file stays right where you last saved it, and downloads when you open it. Files that you’ve used recently remain on your Mac, along with optimized versions of your photos.

* If you haven't yet upgraded to macOS Sierra or later, learn about other ways to free up storage space.

Find out how much storage is available on your Mac

Choose Apple menu  > About This Mac, then click Storage. Each segment of the bar is an estimate of the storage space used by a category of files. Move your pointer over each segment for more detail.

Click the Manage button to open the Storage Management window, pictured below. This button is available only in macOS Sierra or later.

Mac App Wipe Free Space Games

Manage storage on your Mac

The Storage Management window offers recommendations for optimizing your storage. If some recommendations are already turned on, you will see fewer recommendations.


Store in iCloud

Click the Store in iCloud button, then choose from these options:

  • Desktop and Documents. Store all files from these two locations in iCloud Drive. When storage space is needed, only the files you recently opened are kept on your Mac, so that you can easily work offline. Files stored only in iCloud show a download icon , which you can double-click to download the original file. Learn more about this feature.
  • Photos. Store all original, full-resolution photos and videos in iCloud Photos. When storage space is needed, only space-saving (optimized) versions of photos are kept on your Mac. To download the original photo or video, just open it.
  • Messages. Store all messages and attachments in iCloud. When storage space is needed, only the messages and attachments you recently opened are kept on your Mac. Learn more about Messages in iCloud.

Storing files in iCloud uses the storage space in your iCloud storage plan. If you reach or exceed your iCloud storage limit, you can either buy more iCloud storage or make more iCloud storage available. iCloud storage starts at 50GB for $0.99 (USD) a month, and you can purchase additional storage directly from your Apple device. Learn more about prices in your region.

Best Wipe Free Space Software

Optimize Storage

Click the Optimize button, then choose from these options.

  • Automatically remove watched movies and TV shows. When storage space is needed, movies or TV shows that you purchased from the iTunes Store and already watched are removed from your Mac. Click the download icon next to a movie or TV show to download it again.
  • Download only recent attachments. Mail automatically downloads only the attachments that you recently received. You can manually download any attachments at any time by opening the email or attachment, or saving the attachment to your Mac.
  • Don't automatically download attachments. Mail downloads an attachment only when you open the email or attachment, or save the attachment to your Mac.

Optimizing storage for movies, TV shows, and email attachments doesn't require iCloud storage space.

Empty Trash Automatically

Empty Trash Automatically permanently deletes files that have been in the Trash for more than 30 days.

Reduce Clutter

Reduce Clutter helps you to identify large files and files you might no longer need. Click the Review Files button, then choose any of the file categories in the sidebar, such as Applications, Documents, Music Creation, or Trash.

You can delete the files in some categories directly from this window. Other categories show the total storage space used by the files in each app. You can then open the app and decide whether to delete files from within it.

Learn how to redownload apps, music, movies, TV shows, and books.

Where to find the settings for each feature

The button for each recommendation in the Storage Management window affects one or more settings in other apps. You can also control those settings directly within each app.

Mac
  • If you're using macOS Catalina, choose Apple menu  > System Preferences, click Apple ID, then select iCloud in the sidebar: Store in iCloud turns on the Optimize Mac Storage setting on the right. Then click Options next to iCloud Drive: Store in iCloud turns on the Desktop & Documents Folders setting. To turn off iCloud Drive entirely, deselect iCloud Drive.
    In macOS Mojave or earlier, choose Apple menu > System Preferences, click iCloud, then click Options next to iCloud Drive. Store in iCloud turns on the Desktop & Documents Folders and Optimize Mac Storage settings.
  • In Photos, choose Photos > Preferences, then click iCloud. Store in iCloud selects iCloud Photos and Optimize Mac Storage.
  • In Messages, choose Messages > Preferences, then click iMessage. Store in iCloud selects Enable Messages in iCloud.
  • If you're using macOS Catalina, open the Apple TV app, choose TV > Preferences from the menu bar, then click Files. Optimize Storage selects “Automatically delete watched movies and TV shows.”
    In macOS Mojave or earlier, open iTunes, choose iTunes > Preferences from the menu bar, then click Advanced. Optimize Storage selects “Automatically delete watched movies and TV shows.”
  • In Mail, choose Mail > Preferences from the menu bar, then click Accounts. In the Account Information section on the right, Optimize Storage sets the Download Attachments menu to either Recent or None.

Empty Trash Automatically: From the Finder, choose Finder > Preferences, then click Advanced. Empty Trash Automatically selects “Remove items from the Trash after 30 days.”

Other ways that macOS helps automatically save space

With macOS Sierra or later, your Mac automatically takes these additional steps to save storage space:

  • Detects duplicate downloads in Safari, keeping only the most recent version of the download
  • Reminds you to delete used app installers
  • Removes old fonts, languages, and dictionaries that aren't being used
  • Clears caches, logs, and other unnecessary data when storage space is needed

How to free up storage space manually

Even without using the Optimized Storage features of Sierra or later, you can take other steps to make more storage space available:

  • Music, movies, and other media can use a lot of storage space. Learn how to delete music, movies, and TV shows from your device.
  • Delete other files that you no longer need by moving them to the Trash, then emptying the Trash. The Downloads folder is good place to look for files that you might no longer need.
  • Move files to an external storage device.
  • Compress files.
  • Delete unneeded email: In the Mail app, choose Mailbox > Erase Junk Mail. If you no longer need the email in your Trash mailbox, choose Mailbox > Erase Deleted Items.

Learn more

  • The Storage pane of About This Mac is the best way to determine the amount of storage space available on your Mac. Disk Utility and other apps might show storage categories such as Not Mounted, VM, Recovery, Other Volumes, Free, or Purgeable. Don't rely on these categories to understand how to free up storage space or how much storage space is available for your data.
  • When you duplicate a file on an APFS-formatted volume, that file doesn't use additional storage space on the volume. Deleting a duplicate file frees up only the space required by any data you might have added to the duplicate. If you no longer need any copies of the file, you can recover all of the storage space by deleting both the duplicate and the original file.
  • If you're using a pro app and Optimize Mac Storage, learn how to make sure that your projects are always on your Mac and able to access their files.