Created
October 9, 2019 15:40
-
-
Save zacbrown/23386cba4f5175b5b372e5a04a67f49c to your computer and use it in GitHub Desktop.
Google Updater blocker (macOS)
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
#!/bin/bash | |
# create folders if they don't already exist | |
sudo mkdir -p /Library/Google ~/Library/Google | |
# if they do exist delete everything inside of them | |
sudo rm -rf /Library/Google/* ~/Library/Google/* | |
# prevent Google from writing to these folders | |
sudo chown -R root:wheel /Library/Google ~/Library/Google | |
sudo chmod -R go-rwx /Library/Google ~/Library/Google |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment