![]()
swinful@thinkpad> gphoto2 –version
gphoto2 2.3.1
Copyright (c) 2000-2006 Lutz Mueller and others
gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.This version of gphoto2 is using the following software versions and options:
gphoto2 2.3.1 cc, popt(m), exif, no cdk, aa, jpeg, readline
libgphoto2 2.3.1 cc, no ltdl, EXIF
libgphoto2_port 0.7.1 cc, no ltdl, USB, serial without locking
Checking /dev/console:
ugen1: detached
ugen1: Canon Inc. Canon Digital Camera, rev 2.00/0.02, addr 2
Can this camera be auto-detected?
swinful@thinkpad> gphoto2 –auto-detect
Model Port
———————————————————-
Let’s try as root:
swinful@thinkpad> sudo gphoto2 –auto-detect
Model Port
———————————————————-
Canon PowerShot S3 IS (PTP mode) usb:
Canon PowerShot S3 IS (PTP mode) usb:/dev/usb4,/dev/ugen1
List files:
swinful@thinkpad> sudo gphoto2 –list-files
…snip…
#62 IMG_0073.JPG 3534 KB image/jpeg
#63 IMG_0074.JPG 2901 KB image/jpeg
#64 IMG_0075.JPG 2754 KB image/jpeg
#65 IMG_0076.JPG 2764 KB image/jpeg
#66 IMG_0077.JPG 2751 KB image/jpeg
#67 IMG_0078.JPG 2988 KB image/jpeg
#68 IMG_0079.JPG 3850 KB image/jpeg
#69 IMG_0088.JPG 472 KB image/jpeg
#70 IMG_0089.JPG 469 KB image/jpeg
#71 IMG_0093.JPG 477 KB image/jpeg
#72 IMG_0094.JPG 507 KB image/jpeg
#73 IMG_0095.JPG 471 KB image/jpeg
#74 IMG_0096.JPG 520 KB image/jpeg
#75 IMG_0097.JPG 530 KB image/jpeg
#76 IMG_0098.JPG 516 KB image/jpeg
#77 IMG_0099.JPG 522 KB image/jpeg
#78 IMG_0100.JPG 490 KB image/jpeg
#79 IMG_0101.JPG 511 KB image/jpeg
#80 IMG_0102.JPG 486 KB image/jpeg
#81 IMG_0103.JPG 485 KB image/jpeg
#82 IMG_0104.JPG 481 KB image/jpeg
There is no file in folder ‘/store_00010001/MISC’.
There is no file in folder ‘/store_80000001′.
…snip…
When taking files off the camera, exporting with a meaningful filename can be done as follows:
swinful@thinkpad> sudo gphoto2 –get-file 62-82 –filename ‘Wedding-Ring-%2n.%C’
Downloading ‘IMG_0073.JPG’ from folder ‘/store_00010001/DCIM/100CANON’…
Saving file as Wedding-Ring-62.JPG
Downloading ‘IMG_0074.JPG’ from folder ‘/store_00010001/DCIM/100CANON’…
Saving file as Wedding-Ring-63.JPG
Downloading ‘IMG_0075.JPG’ from folder ‘/store_00010001/DCIM/100CANON’…
Saving file as Wedding-Ring-64.JPG
Downloading ‘IMG_0076.JPG’ from folder ‘/store_00010001/DCIM/100CANON’…
Saving file as Wedding-Ring-65.JPG
Downloading ‘IMG_0077.JPG’ from folder ‘/store_00010001/DCIM/100CANON’…
Saving file as Wedding-Ring-66.JPG
…snip…
Saving file as Wedding-Ring-81.JPG
Downloading ‘IMG_0104.JPG’ from folder ‘/store_00010001/DCIM/100CANON’…
Saving file as Wedding-Ring-82.JPG
Nice. Viewing can now be done with kview