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

Click here to return to the 'Cached 'favicons' in Safari can cause slowdowns' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Cached 'favicons' in Safari can cause slowdowns
Authored by: msk on Mar 30, '04 10:08:54AM

the "-delete" on find will not work if you access the GNU version of find, which happened to me because I have /sw/bin/find in my Unix path before /usr/bin/find, because I installed "findutils" from fink (and removed now). (-exec rm {} \; is a possible replacement)

Also, find always descends into directories. The problem is that a lot of these cache files are getting accessed more recently, at least on my machine I had only two icon cache files not accessed in the last day.

I put:

find /Users/*/Library/Safari/Icons -type f -name "*.cache" -delete

in /etc/daily.local, that way those pesty icons will get cleaned once a day--I'll move it to a different script (weekly or monthly) once I see that I got it right. You have to create that script, read the scripts in /etc/periodic to get more ideas.

[ Reply to This | # ]