How to prevent Photos on OS X from running automatically

Photos app will pop open when you plug in your iPhone or any SD card with photo to the USB port of your Mac. Here’s a quick tip to stop Photos from opening automatically.

How to prevent Photos on OS X from running automatically

Open the Terminal app and type in the command:

defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool true

Just change the word “true” to “false” and reenter the command if you want to reverse it.