Re: filename prefixes while transfering images from memory cards
- From: kamaraju kusumanchi <raju.mailinglists@xxxxxxxxx>
- Date: Tue, 04 Apr 2006 20:37:17 -0400
H.S. wrote:
Hi,Adding a prefix to all the files in a directory is as easy as
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
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
- Follow-Ups:
- References:
- Prev by Date: Re: Using Ubuntu when I'm used to Debian.
- Next by Date: Re: email servers
- Previous by thread: filename prefixes while transfering images from memory cards
- Next by thread: Re: filename prefixes while transfering images from memory cards
- Index(es):
Relevant Pages
|