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


Click here to return to the 'Remove Safari history files on logout via shell script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Remove Safari history files on logout via shell script
Authored by: NinjaRat on Jul 01, '09 10:21:21AM
I've been using something similar to this for a while but my combination of tools is a bit different. I use Platypus to wrap my script up into an application because it launches faster than either AppleScript or Automator. And I use Do Something When (DSW) to launch the app when Safari quits. Rather than using rm I move the files to ~/.Trash and then use the Secure Empty Trash when I'm feeling especially paranoid.

Also note that if you have Time Machine running then these files will likely be on your backups unless specifically excluded.

Platypus: http://www.sveinbjorn.org/platypus
DSW: http://www.azarhi.com/Projects/DSW/

[ Reply to This | # ]