Last active
May 31, 2016 18:56
-
-
Save dderusha/313abf23d1ddbda07d59 to your computer and use it in GitHub Desktop.
Clean OS X caches
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#created By Dan De Rusha modified 10-8-14 | |
### DELETE UTC CACHES | |
rm -r /Library/Extensis | |
mkdir /Library/Extensis | |
chmod 777 /Library/Extensis | |
### DELETE MICROSOFT CACHES | |
rm /Users/*/Library/Preferences/Microsoft/Office\ Font\ Cache* | |
rm /Users/*/Library/Preferences/Microsoft/Office\ 2008/Office\ Font\ Cache* | |
rm /Users/*/Library/Preferences/Microsoft/Office\ 2011/Office\ Font\ Cache* | |
### DELETE ADOBE CACHES | |
rm /Applications/Adobe*/Fonts/*.lst | |
rm /Applications/Adobe*/Required/Fonts/*.lst | |
rm /Users/*/Library/Application\ Support/Adobe/Fonts/AdobeFnt*.lst | |
rm /Users/*/Library/Application\ Support/Adobe/TypeSpt/AdobeFnt*.lst | |
rm /Users/*/Library/Caches/Adobe/Fonts/AdobeFnt*.lst | |
rm /Users/*/Library/Caches/Adobe/TypeSpt/AdobeFnt*.lst | |
rm /Library/Application\ Support/Adobe/Fonts/AdobeFnt*.lst | |
rm /Library/Application\ Support/Adobe/TypeSpt/AdobeFnt*.lst | |
sudo atsutil databases -remove | |
atsutil server -shutdown | |
Sleep 5 | |
atsutil server -ping | |
sudo jamf displayMessage -message "Font Cache Cleaned" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment