If you’re a Mac user and are annoyed that OS X automatically launches Apple Photos every time you connect a device or insert a memory card, there’s good news for you: you can disable the program from launching for all devices with a single command. Melbourne-based photographer Ben Fon tells PetaPixel that all you need to do is Open up Terminal, and enter the following line:
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES Then press Enter.
Stop Apple Photos from Auto Launching in OS X with One Command: