To stop Apple Photos automatically launching when you insert a memory card enter the following command into the terminal.
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES
To stop Apple Photos automatically launching when you insert a memory card enter the following command into the terminal.
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES