Oct 20, 2015 OS X El Cap. Discussion in 'OS X El Capitan (10.11)' started by AppleFan22, Oct 19, 2015. These are the best ways to clean up the Mac OS X El Capitan hard drive and make a slow & sluggish Mac to run faster. Alternatively, you can use Stellar Speedup Mac Software to automatically clean out the El Capitan hard drive. For those wondering, these features were removed from the modern version of Disk Utility in Mac OS X because they do not work on SSD volumes, which are becoming more commonplace and nearly all Mac laptops ship with them by default now. But not everyone has an SSD drive, and thus some users may still wish to perform a secure erase of free space on their Mac hard disk. To achieve the same secure erase in modern versions of Mac OS X you’ll need to turn to the command line. And yes, this works to erase free space on older versions of Mac OS X too, but since they can do it’s perhaps a bit less relevant to the prior releases. This is for advanced Mac users only who are comfortable with backing up their Mac, using the command line with exact syntax, and the concepts behind permanently removing data. ![]() To be perfectly clear, this secure erases only the free space on a drive, aimed at preventing file recovery efforts, it does not perform a. How to Secure Erase Free Space on Mac OS X El Capitan Drives via Command Line, Without Disk Utility Back up your Mac before attempting to use these commands. The command line requires precise syntax and is unforgiving, improper commands could lead to the unintended removal of data you do not want to delete, permanently, as this is a secure erase function. You have been warned, so backup your Mac data first, then proceed at your own risk. To get started, launch the Terminal (found in /Applications/Utilities/) and use the following general syntax, replacing level and drive name as appropriate: diskutil secureErase freespace (level 0-4) /Volumes/(Drive Name) (level 0-4) is a number indicating the number of passes to write to the free space, ‘freespace’ indicates you are erasing only the free space and not the itself – a critically important difference – and (Drive Name) is self explanatory. Users can also choose the disk identifier if desired. If you aren’t sure of the name of the drive, using will show you all mounted drives and partitions. If the drive in question has a space in the name, you should place it in quotes or escape it with backslashes. For example, to perform a secure erase with 35 passes on free space on a drive named “Macintosh HD” you could use the following command string: diskutil secureErase freespace 3 '/Volumes/Macintosh HD' Hitting return will instantly begin the secure erase of any free space. This is irreversible, so as we’ve mentioned a dozen times already, be sure the syntax is exact. The manual page entry on diskutil offers the following details on the secure erase feature, detailing the level of writing over free space. SecureErase [freespace] level device Erase, using a secure method, either a whole-disk (including any and all partitions), or, only the free space (not in use for files) on a currently-mounted volume.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2019
Categories |