GPHOTO2(1) The gPhoto2 Reference (the man GPHOTO2(1) (NAME) gphoto2 - gphoto2 (SYNOPSIS) gphoto2 [--debug] [--debug-logfile FILENAME] [--debug-loglevel LEVEL] [[-q] | [--quiet]] [[-v] | [--verbose]] [[-h] | [--help]] [--usage] [--hook-script FILENAME] [--list-cameras] [--list-ports] [--stdout] [--stdout-size] [--parsable] [--auto-detect] [--port PATH] [--speed SPEED] [--camera MODEL] [--filename FILENAME] [--filenumber FILENUMBER] [--usbid USBIDS] [[-a] | [--abilities]] [[--folder FOLDER] | [-f FOLDER]] [[[-R] | [--recurse]] | [--no-recurse]] [[-l] | [--list-folders]] [[-L] | [--list-files]] [[-m NAME] | [--mkdir NAME]] [[-r NAME] | [--rmdir NAME]] [[-n] | [--num-files]] [[-p RANGE or NAME] | [--get-file RANGE or NAME]] [[-P] | [--get-all-files]] [[-t RANGE or NAME] | [--get-thumbnail RANGE or NAME]] [[-T] | [--get-all-thumbnails]] [--get-raw-data RANGE or NAME] [--get-all-raw-data] [--get-audio-data RANGE or NAME] [--get-all-audio-data] [--get-exif RANGE or NAME] [--get-all-exif] [--get-metadata RANGE or NAME] [--get-all-metadata] [--upload-metadata FILENAME] [--force-overwrite] [--new] [[-d RANGE or NAME] | [--delete-file RANGE or NAME]] [[-D] | [--delete-all-files]] [[-u FILENAME] | [--upload-file FILENAME]] [--config] [--list-config] [--list-all-config] [--get-config CONFIGENTRY] [--set-config CONFIGENTRY=CONFIGVALUE] [--set-config-index CONFIGENTRY=CONFIGINDEX] [--set-config-value CONFIGENTRY=CONFIGVALUE] [--reset] [--capture-preview] [--show-preview] [[-F COUNT] | [--frames COUNT]] [[-I SECONDS] | [--interval SECONDS]] [--reset-interval] [--capture-image] [--trigger-capture] [--capture-movie SECONDS or COUNT] [--capture-sound] [--capture-tethered SECONDS, COUNT or STRING] [--wait-event SECONDS, COUNT or STRING] [--wait-event-and-download SECONDS, COUNT or STRING] [--keep] [--no-keep] [--reverse] [--show-info RANGE or NAME] [--show-exif RANGE or NAME] [--storage-info] [--summary] [--manual] [--about] [--shell] (DESCRIPTION) libgphoto2(3) gphoto2(1) . RANGE () . ("first-last") . XOR ( ) "1-5,3,7" "1,2,4,5,7" . --debug (). stderr --debug-logfile . --debug-logfile FILENAME ( 2.3.0) --debug . --debug-loglevel LEVEL ( 2.5.5) . : error, debug, data, all. all . --hook-script FILENAME ( 2.3.0) (hook script) FILENAME gphoto2. ACTION . ACTION . ACTION=init gphoto2 . gphoto2 . ACTION=start gphoto2 . ACTION=download gphoto2 ARGUMENT . ACTION=stop gphoto2 . . . . ~/.gphoto/settings gphoto2=hook-script=filename . -q, --quiet (= ). -v, --version . -h, --help . --usage . --list-cameras . --list-ports . --stdout (stdout). --stdout-size . --parsable . --auto-detect . --port PATH . --list-ports . USB --auto-detect . --speed SPEED . --camera MODEL . --list-cameras . : : --camera "Kodak DC240". --camera --port . --camera . --filename FILENAME . . --filename %a, %A, %b, %B, %d, %H, %k, %I, %l, %j, %m, %M, %S, %y, %% ( date(1) ) %n %C %f %F %: . %: %#f %#C %^f %^C . %n (padding) : %03n ( "007" ). ( %3n) . ~/.gphoto/settings gphoto2=filename=value . --filenumber FILENUMBER --filename %n . --filenumber (FILENUMBER) . --usbid USBIDS ( ) USB. USBIDS DetectedVendorID:DetectedProductID=TreatAsVendorID:TreatAsProductID USB DetectedVendorID:DetectedProductID TreatAsVendorID:TreatAsProductID . VendorID ProductID C '0x' . : --usbid 0x4a9:0x306b=0x4a9:0x306c -a, --abilities libgphoto2. . --summary . -f, --folder FOLDER (="/"). -R, --recurse ( ). --no-recurse ( ). -l, --list-folders . -L, --list-files . -m, --mkdir NAME . -r, --rmdir NAME . -n, --num-files . -p, --get-file RANGE . -P, --get-all-files . -t, --get-thumbnail RANGE . -T, --get-all-thumbnails . --get-raw-data RANGE . --get-all-raw-data . --get-audio-data RANGE . --get-all-audio-data . --get-exif RANGE Exif . --get-all-exif Exif . --upload-metadata FILENAME _meta . --get-metadata RANGE . --get-all-metadata . --force-overwrite . --skip-existing . --new . . -d, --delete-file RANGE . -D, --delete-all-files ( --no-recurse ). -u, --upload-file FILENAME . --capture-preview . -B--bulb SECONDS (bulb capture) . --show-preview (Ascii Art) ( aalib ). -F COUNT, --frames COUNT . . -I SECONDS, --interval SECONDS . ( 2.4) SIGUSR1 ( " (SIGNALS)" ). 1- gphoto2 ( ) . --reset-interval . --reset-interval SIGUSR1 -I|--interval . --capture-image . --capture-image-and-download . --trigger-capture . --wait-event-and-download . . --reverse --get-all-files -P -T . --keep --capture-image-and-download . --no-keep --capture-image-and-download (). --keep-raw --capture-image-and-download RAW JPEG . (dual mode) JPEG . --capture-movie SECONDS . (motion-jpeg) . Ctrl-C . . --capture-sound . . --capture-tethered SECONDS, MILLISECONDS, COUNT or MATCHSTRING gphoto2 () . (tethered capture) . --hook-script . Canon EOS Nikon DSLR . --wait-event SECONDS, MILLISECONDS, COUNT or MATCHSTRING, --wait-event-and-download SECONDS, MILLISECONDS, COUNT or MATCHSTRING gphoto2 . . "--wait-event" "--wait-event-and-download" . --wait-event-and-download --capture-tethered . "s" "ms" ( ) . (timeout) "wait-event=5" . "--wait-event=5s" . MATCHSTRING CAPTURECOMPLETE FILEADDED TIMEOUT . ( ) . --hook-script . . gphoto2 SIGUSR1 ( "--capture-image") . ( 2.5.28) gphoto2 SIGUSR2 (tethering) . ( 2.5.25) --show-info RANGE . --config ncurses. gphoto2 CDK . --list-config . --list-all-config . --list-config --get-config . --get-config CONFIGENTRY . . --set-config CONFIGENTRY=CONFIGVALUE . CONFIGVALUE () . --set-config-index --set-config-value . --get-config . --set-config-index CONFIGENTRY=CONFIGINDEX () . . --get-config . --set-config-value CONFIGENTRY=CONFIGVALUE . . --get-config . --reset USB ( ). USB --port usb:XXX,YYY . . --storage-info . --summary . --manual . --about . --shell gphoto2. << (SHELL MODE)>> . (SHELL MODE) : cd DIRECTORY . ls . lcd DIRECTORY . get FILENAME . put FILENAME . get-thumbnail FILENAME . get-raw FILENAME . get-exif FILENAME Exif . show-info FILENAME . delete FILENAME . mkdir DIRECTORY "DIRECTORY". rmdir DIRECTORY "DIRECTORY". show-exif FILENAME EXIF ( EXIF). capture-image . capture-image-and-download . capture-preview . list-config . get-config NAME "NAME". set-config NAME=VALUE "NAME" "VALUE". set-config-value NAME=VALUE "NAME" "VALUE". set-config-index NAME=VALUE "NAME" () "INDEX" . Menu Radio button . wait-event COUNT or SECONDS SECONDS ( s) COUNT (timeout) . . . wait-event-and-download COUNT or SECONDS, capture-tethered COUNT or SECONDS SECONDS ( s) COUNT (timeout) . . . help, ? . exit, quit, q gphoto2. (ENVIRONMENT VARIABLES) CAMLIBS libgphoto2 (camlibs) . . IOLIBS libgphoto2_port / (iolibs) . . LD_DEBUG all ld . USB_DEBUG libusb . 1 . (SIGNALS) SIGUSR1 ( 2.4) (tethering) wait-event SIGUSR1 gphoto2 . --reset-interval -I|--interval . ( ) . SIGUSR2 ( 2.5.26) (tethering) wait-event SIGUSR2 . . (SEE ALSO) libgphoto2(3), gPhoto2[1], gphoto.org[2], UNIX Linux BSD[3] (EXAMPLES) gphoto2 --list-ports (USB ). gphoto2 --auto-detect () . gphoto2 --list-files . gphoto2 --get-file 7-13 gphoto2 --list-files. gphoto2 --capture-image --interval 60 --hook-script /usr/share/doc/gphoto2/test-hook.sh . . --debug gphoto2 USB USB_DEBUG=1 . (AUTHORS) Tim Waugh . Hans Ulrich Niedermann, current maintainer . Michael J. Rensing . Marcus Meissner . . The gPhoto2 Team . Tim Waugh . Hans Ulrich Niedermann . (NOTES) 1. gPhoto2 http://www.gphoto.org/doc/manual 2. gphoto.org http://www.gphoto.org 3. UNIX Linux BSD http://www.teaser.fr/~hfiguiere/linux/digicam.html [FIXME: source] 2015-08-01August 2006 GPHOTO2(1)