Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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"
@Gummibeer
Copy link
Author

Gummibeer commented Dec 7, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment