Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Faster deletes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Faster deletes
Authored by: ekc on Sep 06, '05 02:56:38PM
robg adds: Be aware that secure deleting takes a bit of time...

Depending on your level of paranoia, a single-pass overwrite (srm -rfs) may be good enough. It would thwart any software recovery utility, and you've gotta wonder if your data is worth so much to someone that they would hire a pro to open up the drive and piece it back together...

I wrote an AppleScript to delete files in one pass and called it "Tear It Up" just to remind me that what it's doing is quick but not exactly industrial strength. It also beeps once when it's done, which is not a bad idea for a time-consuming script. I haven't used Automator, but isn't there a way to add an AppleScript beep to the end of the workflow?

[ Reply to This | # ]

Faster deletes
Authored by: calum on Sep 12, '05 07:00:52AM

Good idea... couldn't see an Automator action for beeping, but in this case you can just add a line to the end of the shell script (i.e. on a new line after "done"):

osascript -e 'beep 1'

or

osascript -e 'say "Files Deleted"'

[ Reply to This | # ]
Faster deletes
Authored by: mbogosian on Sep 13, '05 03:04:04AM
Depending on your level of paranoia, a single-pass overwrite (srm -rfs) may be good enough. It would thwart any software recovery utility, and you've gotta wonder if your data is worth so much to someone that they would hire a pro to open up the drive and piece it back together...

Chances are that when running srm on a journalling file system (like newer installations of HFS+ with journalling turned on) it won't matter how many passes you make. The only difference would be time (there is little-to-no added security value). So, if you have journalling turned on, but still want to use srm, I see little reason not to use -s.

Of course, I have not verified that OS X's srm doesn't somehow magically account for all the implications of journalling, but I would be surprised if it does. Can anyone speak more intelligently on this?



[ Reply to This | # ]