Are you using a MAC and tired of how OS X automatically launches Apple Photos every time you connect a device or insert a memory card. Did you know that it’s possible to disable the program from launching for all devices with a single command.
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.
To undo the action just repeat the same text but replace YES with NO