My Question is I want to erase a file in OS X Securely (like the function of "Secure Empty Trash") so that, the file cannot be recovered by using recovery tools. I don't want to empty the trash. It is possible to erase Files Securely in OS X without moving the file to Trash ?

  • TBH i think finding a "fix" now will just be delaying the inevitable change to this look that'll probably come with all new versions – Alexander Jul 28 '12 at 18:18

You can always use the terminal command rm with the -P option:

[Option -P will] Overwrite regular files before deleting them. Files are overwritten three times, first with the byte pattern 0xff, then 0x00, and then 0xff again, before they are deleted.

If you're not handy with the Terminal, just:

  1. Open the Terminal.app (Found in /Applications/Utilities).
  2. Type cd and drag the folder which contains the file you want to delete, to the terminal window.
  3. Type rm -P FileName.extension and hit Enter
  • 6
    Or combine step 2 and 3 by typing rm -P followed by directly dragging the file into the terminal window. It's also worth mentioning that depending on the sector/cluster allocation process it is usually not guaranteed that the whole file will be overwritten. If you really care about these things use FileVault 2 to encrypt the whole drive. – nohillside Jul 27 '12 at 13:59

srm is another shell utility for deleting files securely. It uses the 35-pass Gutmann algorithm by default, but -s (overwriting files with random data once) is faster and should be secure enough for most purposes.

  • 1
    In fact, choosing "Secure Empty Trash" in Finder invokes srm. – lupincho Jul 29 '12 at 16:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .