Skip to content

Instantly share code, notes, and snippets.

@alechko
Last active Mar 23, 2021
Embed
What would you like to do?
Get Canon EOS DSLR camera shutter count with gphoto2.
# connect your camera with USB cable, for 6D model you have to disable the WiFi first.
# then see if camera is connected by using:
gphoto2 --auto-detect
# if you see something like:
#
# user@x250:~$ gphoto2 --auto-detect
# Model Port
# ----------------------------------------------------------
# Canon EOS 6D usb:001,006
#
# your camera is connected, and you can display the shuttercount, if available, by using:
gphoto2 --get-config /main/status/shuttercounter