Mac OSX (10.11) - Securely emptying Trash

The "Secure Empty Trash" button in the finder menu was removed upon the release of El Capitan. To Secure Empty Trash, you must clear the trash through Terminal.

Mac OS 10.11

  1. Firstly, launch Terminal. To do this, press command and spacebar simultaneously, then type in "Terminal".

  2. In Terminal, type in "cd ~/.Trash" and press enter. Then type in "ls" (lower case Ls) and press enter again. Open your trash folder by clicking on the Trash icon in your doc. If the files in your Terminal window match the files in your trash (which they should), you may continue. There is no recovering these files after this step. Be absolutely certain you want to delete these files.

  3. Type in "srm -rv ~/.Trash", and press enter. This process will take some time to complete. Some files may be "protected". If you are sure you'd like to remove all the files in the trash, then enter "y" in the "are you sure?" prompt, and press enter.



Keywords:terminal mac trash empty delete clear remove el-capitan 10.11 OSX el capitan   Doc ID:58394
Owner:Evan K.Group:DoIT Tech Store
Created:2015-11-20 15:01 CDTUpdated:2015-11-21 13:10 CDT
Sites:DoIT Help Desk, DoIT Tech Store
Feedback:  1   0