![]() ![]() Topher Kessler Post author Octoat 12:50 pm.Post navigation ← About OS X 10.11 ‘El Capitan’ and Permissions Fixes Split View not working in El Capitan? Its an easy fix. This entry was posted in How-To and tagged 10.11, El Capitan, OS X 10.11, secure erase, Trash on Octoby Topher Kessler. ![]() Change DRIVENAME to the name of the mounted drive (encase the name in quotes if it contains punctuation or spaces), and then press Enter to run the command. In this command, change LEVEL to a number of 0 through 4, where 0 is a single-pass of zeros, 1 is a single-pass of random numbers, 2 is a 7-pass erase, 3 is a 35-pass erase, and 4 is a 3-pass erase (note all non single-pass options may take a while to complete). To do this in El Capitan, you can again use Terminal commands: diskutil secureErase freespace LEVEL /Volumes/DRIVENAME Granted on SSD devices, secure-erase can impact the life span of the drive, but it may still be useful for HDD devices. In some cases, you might want to run an overwrite routine on the free space of a given drive, but unfortunately Apple has also removed options to erase free space in the new version of Disk Utility, which may leave you wondering how to do this. If you do not use this second flag, then the command will perform a 35-pass erase. In this command, -s will perform a single-pass erase, but you can use -m for a seven-pass erase, or -z for overwriting with zeros. The second flag (-s) is important for the type of secure erase to perform: srm -rfv -s /path/to/file-or-folder The first is the classic “rm” file removal command, augmented with the “r” flags for recursive deletion of folders, and “P” to implement an overwrite of the removed files: rm -rP /path/to/file-or-folderįor more thorough secure deletion, you can use the “srm” command (for secure rm) along with similar options to recurse (r), force confirmation (f), and then be verbose to show information about files being removed (v). While Apple removed secure-erase options from the Finder, Terminal commands still exist that can be used. If you have one of these available, then you can use it to target and delete files securely. ![]() Some maintenance utilities for OS X like Cocktail and CCleaner include secure file deletion options. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |