Mac OSX - Secure Empty Trash

With the introduction of OSX El Capitan, the ability to securely empty the trash must be done within Terminal.


1. Enter:   cd ~/.trash  into the command line prompt. The line basically means 'take me to the hidden trash directory'

2. Enter: ls   This step is not entirely necessary but recommended. This command stands for 'list' and it will list all files within the trash directory. This is recommended so that you may be sure these are the files you wish to remove as you can not get them back.

3. Enter: srm -rv ~/.trash   This line tells your computer to securely remove the items in the folder specified.

4. You may be prompted by the operating system asking if you are sure you would like to remove these files. Type 'y' for yes.


Keywords:mac osx el capitan secure empty trash   Doc ID:62015
Owner:Help Desk K.Group:UW-Milwaukee Help Desk
Created:2016-03-17 11:57 CDTUpdated:2016-03-17 11:59 CDT
Sites:UW-Milwaukee Help Desk
Feedback:  1   0