Skip to content

Instantly share code, notes, and snippets.

@zacbrown
Created October 9, 2019 15:40
Show Gist options
  • Save zacbrown/23386cba4f5175b5b372e5a04a67f49c to your computer and use it in GitHub Desktop.
Save zacbrown/23386cba4f5175b5b372e5a04a67f49c to your computer and use it in GitHub Desktop.
Google Updater blocker (macOS)
#!/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