From: Frédéric <fre...@gb...> - 2009-02-17 14:49:55
|
On mardi 17 février 2009, Marcus Meissner wrote: > > I forgot to say that I want to automate this from a python script > > (using subprocess module). I didn't find a way to get the last > > shooting picture; I always have to give the number of the picture... > > parse the output that is returned, then do: > > gphoto2 -f $folder -p $image > > (or -t for thumbnail) > (untested) Ok, I'll do that. However, it would be nice to have a flag to turn the verbose output (ie for human) to a more simple one, easier to parse, giving only usefull informations (according to other flags), one on each line. Just an idea... -- Frédéric http://www.gbiloba.org |