Re: filename prefixes while transfering images from memory cards

2006-04-05 Thread Justin Guerin
H.S. wrote: > kamaraju kusumanchi wrote: > >> [snip] > > I am already quite familiar with this method. However, if I have large > number of images in my memory card, it is much more convenient to see > the images in a browser, select the ones belong to a specific group, and > copy them over to t

Re: filename prefixes while transfering images from memory cards

2006-04-05 Thread H.S.
theo wrote: > Ron Johnson wrote: > >>>b=`basename $i .jpg` > > or b=${i%.jpg} > (basename doesn't work with spaces in filenames). > > cheers, > theo. I does if you use double quotes: $> for f in *.jpg; do bn=`basename "$f" .jpg`; echo $bn; done ->HS -- To UNSUBSCRIBE, email to [EMA

Re: filename prefixes while transfering images from memory cards

2006-04-05 Thread theo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ron Johnson wrote: > b=`basename $i .jpg` or b=${i%.jpg} (basename doesn't work with spaces in filenames). cheers, theo. PS : Sorry Ron for the reply out of the list. I never did it before. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2

Re: filename prefixes while transfering images from memory cards

2006-04-04 Thread Sumo Wrestler (or just ate too much)
H.S. wrote: [...] So, to put it in very approximate terms, I am enquiring if my memory card maybe seen as a camera with an application in the same way as gtkam sees a camera through the USB port. ->HS Probably not. If it were me, I'd put each group of files into its own directory, then use

Re: filename prefixes while transfering images from memory cards

2006-04-04 Thread Ron Johnson
On Tue, 2006-04-04 at 22:12 -0400, H.S. wrote: > Ron Johnson wrote: > > >> > >>Adding a prefix to all the files in a directory is as easy as > >> > >>for i in *; do mv $i prefix$i; done > > > > > > Or you could use jhead. > > > > This command looks at the Exif data in each jpeg in a directory,

Re: filename prefixes while transfering images from memory cards

2006-04-04 Thread H.S.
Ron Johnson wrote: >> >>Adding a prefix to all the files in a directory is as easy as >> >>for i in *; do mv $i prefix$i; done > > > Or you could use jhead. > > This command looks at the Exif data in each jpeg in a directory, > extracts the timestamp, and renames each file to the timestamp. >

Re: filename prefixes while transfering images from memory cards

2006-04-04 Thread H.S.
kamaraju kusumanchi wrote: > > 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 ca

Re: filename prefixes while transfering images from memory cards

2006-04-04 Thread Ron Johnson
On Tue, 2006-04-04 at 20:37 -0400, kamaraju kusumanchi wrote: > 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 ap

Re: filename prefixes while transfering images from memory cards

2006-04-04 Thread kamaraju kusumanchi
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

filename prefixes while transfering images from memory cards

2006-04-04 Thread H.S.
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 pi