So I’ve had my MacBook Pro for a few months now, and since I have a 500 Gig harddrive, I haven’t bothered to empty my trash yet. I’m currently on a work trip in China, and it makes me think about the privacy (internet and otherwise) that I have in the US, that I don’t expect here. In fact, since we’re blocked from posting to either Facebook or Twitter, I know this post will only make it there because this site will post if for me after I post it to my site (again, not something you’d think about just living in most other parts of the world). So what a good time to learn how to securely emptying my trash! The first thing I did was use the ‘Secure delete’ feature of the OS X trash folder, but with over 190,000 files to remove, it sat there at 0% while the fan spun up for about 15 minutes. That was it for me, it was clear it was going to take years for this to happen, so canceled that and hit Google to learn the right way to do it via the commandline. One of the best pages talks about srm a secure file deletion for posix systems that is installed by default on OS X. I’ve crafted my srm command to use the nice command to reduce the amount of overhead the process causes (again, the GUI version was taking over the system and heating things up quickly) and the sudo command to ensure all files would be deleted regardless of permission/ownership. In the end in looks like this:
Recent Comments
- David Foster on Super Mario Bros voted greatest computer game ever
- Sonomadiver on HOWTO: replicate, backup, copy or move a mySQL database
- m2m news on LinkedIn is spamming all of my Gmail contacts
- LDN Games on HOWTO build your own open source Dropbox clone
- Rinkesh on Aquadots sweetened with the date-rape drug 1,4-butanediol
Tags
apache apple art bands barack obama bash bsd code debian dubya eff election email features gamer google hacker health howto lighttpd linux mp3 music networking newstudy obama open source phishing politics president rock rock and roll security spam tech terror tv ubuntu unix varnish video games vote web webserver wii












Home