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


Click here to return to the '10.5: How to reset user and/or all font caches' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: How to reset user and/or all font caches
Authored by: Nectar on Oct 31, '07 08:46:19AM
No need for the sudo lsof dance. You can determine the name of the per-user caches directory as follows:
$ getconf DARWIN_USER_CACHE_DIR
/var/folders/W+/W++N636LEWe9v2go06a4dk+++TM/-Caches-/
Similarly, the name of the per-user temporary directory can be obtained using DARWIN_USER_TEMP_DIR:
$ getconf DARWIN_USER_TEMP_DIR
/var/folders/W+/W++N636LEWe9v2go06a4dk+++TM/-Tmp-/


[ Reply to This | # ]
10.5: How to reset user and/or all font caches
Authored by: jelmore49 on Nov 01, '07 08:40:42AM

i didn't know about the getconf trick. Nice!

Also, the "sudo" can be omitted from the shell script to delete the user's font cache folder. It is necessary for the second one, as you're going into multiple users' folders.



[ Reply to This | # ]