|
|
|
|
|
|
This document quickly describes the use of gphoto2 under Debian GNU/Linux. As a general rule, if it works with Debian, it should equivalently work with any other Linux...
Note that there are two gtk programs that migh be good for your personal needs: gtkam and gtkam-gimp. These are graphical interfaces that use gphoto2. It's up to you as to what to use. I'm not describing any of these in this document.
As a final warning before you proceed, please note that programs evolve with time, so after some time (hopefully never) these notes are not going to be useful at all!
$ gphoto2 --list-ports
$ gphoto2 --auto-detect
$ gphoto2 --list-files
Note that if your camera model is not autodetected correctly it
might still work. For example, my camera model doesn't get
autodetected correctly. However, everything works fine!!!
To download all files on the camera:
$ gphoto2 --get-all-files --filename %Y_%m_%d_%f.%C
To download selected files (the ones you saw with the --list-files):
$ gphoto2 --get-file 300-232 --filename %Y_%m_%d_pict_%f.%C
Note: %Y, %m, %d, %f and %C mean respectively: year, month,
day of the month,
file_name and extension respectively (check documentation for more
options).
$ rm -f *.dat
$ mkdir `ls | sed 's/_pict.*//' | uniq`
And finally we move the pictures to the correct directory:
$ for x in * ; do mv $x `echo $x | sed 's/_pict.*//' ` ; done
|
Last Modification: Mon Oct 29 11:02:44 2007 PDT
Copyright © 1997-2025 Sergio Mendoza <segio@mendozza.org>. |
|