How to secure delete in Mac OS X

secure delete mac os x

Mac OS X makes it easy for you to secure delete your files. Secure delete prevents other people from undeleting or recovering any information about the file. The following are four ways to secure delete files in Mac OS X:

  • Right click the trash bin while holding Command. Select the “Secure Empty Trash” option that appears.
  • From the Finder menu, select “Secure Empty Trash…”.
  • From the terminal, use the “-P” option of the rm command. The “-P” option is:
    -P    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.
  • From the terminal, use the “srm” command instead of “rm -P“. Enter “man srm” on the terminal for more info.