Skip to content

Instantly share code, notes, and snippets.

@thecodewarrior
Last active April 16, 2018 22:39
Show Gist options
  • Select an option

  • Save thecodewarrior/d6777e43f61586482f6a4569dc21e95a to your computer and use it in GitHub Desktop.

Select an option

Save thecodewarrior/d6777e43f61586482f6a4569dc21e95a to your computer and use it in GitHub Desktop.
Two scripts to completely disable and reenable iTunes on macOS - http://bit.do/iTunesDisable
#!/bin/sh
echo "Clearing executable bit for iTunes binary"
sudo chmod ugo-x /Applications/iTunes.app/Contents/MacOS
#!/bin/sh
echo "Setting executable bit for iTunes binary"
sudo chmod ugo+x /Applications/iTunes.app/Contents/MacOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment