Skip to content

Instantly share code, notes, and snippets.

@rogervila
Created December 13, 2016 10:33
Show Gist options
  • Save rogervila/afee5a394a99702617ed9b36d9f8319b to your computer and use it in GitHub Desktop.
Save rogervila/afee5a394a99702617ed9b36d9f8319b to your computer and use it in GitHub Desktop.
Useful OSX Commands
# Disable Photos agent: http://superuser.com/questions/920116/disable-auto-launching-of-photos-application-on-mac-osx-yosemite-el-capitan
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES
defaults -currentHost write com.apple.Photos disableHotPlug -bool YES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment