From: Abigail
Date: 10:57 on 26 Feb 2008
Subject: gphoto2
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
A few days ago, I bought a new digital camera, a Canon. (Don't have
it long enought to hate it).
You can't simply mount its storage as a (usb) disc, but luckely, gphoto2
can connect to the camera and extract the images.
So far, so good. But gphoto2 is chatty. Annoyingly chatty. It'll report
what image it's going to download, displays a progress while downloading
the image, then a message which file it saved it to.
Reading the manual page reveals the '--quiet' option. So, if you're naief,
you'd expect gphoto2 to shut up; at most making a sound if something goes
wrong.
Not so. Sure, with --quiet, it won't tell you what image it's going to
download, but it still tells you the file it downloaded it too, and it
will also display the progress bar. To shut it up, you need to do something
like:
gphoto2 --quiet 2> /dev/null | cat
No progress bar when it's writing to a pipe, and it uses STDERR to inform
you which file it has written to; --quiet only silences STDOUT.
Of course, if something does go wrong, you won't see it, as all errors
go to /dev/null.
Abigail
--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFHw/CXBOh7Ggo6rasRAgO7AJ9SQxMSISy0epwpJAzM/+sXumUlbACfeBes
Iqkxm+GZ8URF8YdWZLL54VQ=
=dLvu
-----END PGP SIGNATURE-----
--qMm9M+Fa2AknHoGS--
Generated at 10:27 on 16 Apr 2008 by mariachi