Created
December 6, 2020 21:46
-
-
Save Gummibeer/55d3a7cc578029282aa348c0d7fdda06 to your computer and use it in GitHub Desktop.
This file contains 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
# clear system caches | |
sudo rm -rf /Library/Caches/* | |
sudo rm -rf /System/Library/Caches/* | |
sudo rm -rf ~/Library/Caches/* | |
# clear dns cache | |
sudo dscacheutil -flushcache | |
sudo killall -HUP mDNSResponder | |
# clear google chrome cache | |
rm -rf ~/Library/Application\ Support/Google/Chrome/Default/Application\ Cache/* | |
# clear google file stream cache | |
rm -rf ~/Library/Application\ Support/Google/DriveFS/[0-9a-zA-Z]*/content_cache | |
killall "Google Drive File Stream" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/fwartner/mac-cleanup