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


Click here to return to the 'Selectively delete Safari favicons from the icon cache' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Selectively delete Safari favicons from the icon cache
Authored by: futerfas on Dec 23, '04 03:56:10PM

This may sound like a dumb question, but how do you get that script from a text file into a script. I never was able to get these to work. Thanks.



[ Reply to This | # ]
Selectively delete Safari favicons from the icon cache
Authored by: hypert on Dec 23, '04 10:36:09PM
I spoke too soon previously - I had only looked at the code and hadn't run it yet. This script is broken on my machine. This may be futerfas' problem, too. Change the line icondir="$HOME/Library/Safari/icons" to icondir="$HOME/Library/Safari/Icons" (capital "I" in "Icons"), if that's really the name of your icon/Icon dir.

Also, change temp="/tmp/$0.$$" to temp=`mktemp`

One more thing. I used the "strings" command to look through some of the files that would have been deleted. It looks like the favicons for more than one site can be stored in each of those files. So, you may purge more favicons than you meant to!

[ Reply to This | # ]

Selectively delete Safari favicons from the icon cache
Authored by: ken22 on Dec 24, '04 02:05:31AM

Copy and paste the text into Apple's Script Editor, the compile.



[ Reply to This | # ]
Selectively delete Safari favicons from the icon cache
Authored by: futerfas on Dec 24, '04 11:46:46AM

Thank you! I've been trying to do this in text edit lol



[ Reply to This | # ]
Selectively delete Safari favicons from the icon cache
Authored by: johnq on Dec 25, '04 05:24:02AM

>>Copy and paste the text into Apple's Script Editor, the compile.<<

Is that a cruel joke? The code is not in AppleScript. It is a shell script. :/



[ Reply to This | # ]