Tip: How to stop Apple Photos from launching for all devices in OSX

This is a short but useful snippet of code if you use a Mac to edit your photos that I found on Reddit. This stops Apple Photos from launching when you insert an SD card or any external USB device.

To stop Apple Photos from ever launching again when you connect any device/memory card do the following:
Launch a ‘Terminal’ session
Enter the following line:
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES

There is an option in Photos to stop it loading “for this card” but that doesn’t work if you format the card which is very likely a part of your workflow if you use Lightroom (and it’s more sensible to copy rather than move in case your drive goes belly-up while transferring).

The Christmas Lights of Blarney

Aperture ƒ/8
Camera Canon EOS 6D
Focal length 24mm
ISO 400
Shutter speed 30s