Re: filename prefixes while transfering images from memory cards



H.S. wrote:
Hi,

In gtkam, and maybe also in digikam, when we connect a camera and
download images to the hard disk, we can specify the destination folder
and also filename prefixes (along with dates IIRC) and get appropriate
image file names, e.g. 20060404_funpicnic.jpg. This is very helpful in
sorting the pictures.

I was wondering, can this be done when I am transfering images from a
memory card (through a card reader) instead of from a camera directly?

->HS
Adding a prefix to all the files in a directory is as easy as

for i in *; do mv $i prefix$i; done

(tested under bash). So one approach is to copy the files from the memory card to a temporary directory and run the above command.

More such goodies can be learned by reading "The Advanced Bash-Scripting Guide" (apt-get install abs-guide).

Does that help solve your problem?


raju

--
http://kamaraju.googlepages.com/cornell-bazaar
http://groups.google.com/group/cornell-bazaar/about


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Lost and Found.
    ... main police station in Eastbourne. ... the images on the memory card from which it was obvious that it had ... There were a few self images on the ... camera may contain more personal data and that he should not return ...
    (uk.legal)
  • Re: filename prefixes while transfering images from memory cards
    ... number of images in my memory card, it is much more convenient to see ... sees a camera through the USB port. ... you can set up your camera as a USB mass storage ...
    (Debian-User)
  • Re: Lost and Found.
    ... main police station in Eastbourne. ... the images on the memory card from which it was obvious that it had ... There were a few self images on the ... camera may contain more personal data and that he should not return ...
    (uk.legal)
  • Re: OT (maybe) camera question
    ... encouraged them to take the disposable camera. ... the "roll" (depending on which size memory card I am using). ... taking some extremely HIGH resolution images by taking a bunch of smaller ... BTW the chance of getting a virus into your camera ...
    (rec.arts.disney.parks)
  • Mars Exploration Rovers Update - August 4, 2006
    ... SPIRIT UPDATE: Spirit Completes Camera Check-Up, ... pairs of images, each pair taken during a different exposure time. ... calibrating variations in the field of light in the McMurdo panorama. ...
    (sci.space.news)