gPhoto2 is a cross-platform digital camera library, and gphoto2 is a command-line client for it.
In the following options, picture numbers begin at 1.
--debug
Turn on debugging.
-q, --quiet
Quiet output (default=verbose).
-v, --version
Display version and exit.
-h, --help
Display a short usage message.
--list-cameras
List supported camera models.
--print-usb-usermap
Create output for usb.usermap.
--list-ports
List supported port devices.
--stdout
Send file to stdout.
--stdout-size
Print filesize before data.
--auto-detect
List auto-detected cameras.
--portPATH
Specify port device.
--speedSPEED
Specify serial transfer speed.
--cameraMODEL
Specify camera model. Most model names contain spaces: remember to enclose the name in quotes so that the shell knows it is one parameter. For example: --camera "Kodak DC240".
--filenameFILENAME
Specify a filename.
--usbidUSBID
(Expert only) Override USB IDs.
-a, --abilities
Display camera abilities.
-f, --folderFOLDER
Specify camera folder (default="/").
-R, --recurse
Recursion (default for download).
--no-recurse
No recursion (default for deletion).
-l, --list-folders
List folders in folder.
-L, --list-files
List files in folder.
-m, --mkdirNAME
Create a directory.
-r, --rmdirNAME
Remove a directory.
-n, --num-files
Display number of files.
-p, --get-fileRANGE
Get files given in range.
-P, --get-all-files
Get all files from folder.
-t, --get-thumbnailRANGE
Get thumbnails given in range.
-T, --get-all-thumbnails
Get all thumbnails from folder.
-r, --get-raw-dataRANGE
Get raw data given in range.
--get-all-raw-data
Get all raw data from folder.
--get-audio-dataRANGE
Get audio data given in range.
--get-all-audio-data
Get all audio data from folder.
--delete-filesRANGE
Delete files given in range.
--delete-all-files
Delete all files in folder.
-u, --upload-fileFILENAME
Upload a file to camera.
--capture-preview
Capture a quick preview.
--capture-image
Capture an image.
--capture-movie
Capture a movie.
--capture-sound
Capture an audio clip.
--show-infoRANGE
Show info.
--summary
Summary of camera status.
--manual
Camera driver manual.
--about
About the camera driver.
--shell
gPhoto shell. In this interactive environment, the following commands are available:
cd
Change to a directory on the camera.
lcd
Change to a directory on the local machine.
exit, quit, q
Exit the gPhoto shell.
get
Download the file to the current directory.
get-thumbnail
Download the thumbnail to the current directory.
get-raw
Download raw data to the current directory.
help, ?
Displays command usage.
ls
List the contents of the current directory on the camera.