jump to navigation

Deleting Flash Cookies Daily Using Snow Leopard’s Semi-Broken Periodic Scripts September 8, 2009

Posted by Robert Harder in Utility.
Tags: , , , , , , ,

I was trying to find a convenient way to delete Flash cookies every day and wanted to run two simple lines automatically:

rm -rf /Users/rob/Library/Preferences/Macromedia/Flash Player/#SharedObjects
rm -rf /Users/rob/Library/Preferences/Macromedia/Flash Player/macromedia.com/support/flashplayer/sys

There are many ways to do this of course: launchd, cron, at, etc, but I thought it would be most elegant to tie into the Mac’s periodic maintenance scripts, and what a time I had debugging why I couldn’t get it to work.