-------- Original Message -------- Subject: Re: [newbie] image filenames, was chcase Date: Fri, 27 Sep 2002 10:24:56 +0100 From: John Richard Smith <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] References: <[EMAIL PROTECTED]> Todd Slater wrote: >I think this is for John-- > >jhead will take the exif date stamp and rename your images according to >that. > >getpix uses jhead. > >getpix also puts each batch of photos in its own subdirectory. The default >directory name uses the current date (YYYY_MM_DD), but you can override >that using the -t switch. If you've got more than one batch to d/l, >numbers are appended to subsequent batches, ie ourwedding, ourwedding-2, >ourwedding-3 etc. > >Just thought that might save you a step or two. > >Todd > > Thanks Todd, I use getpix as you know, but the trouble is this camera ( my own,a cheapie by the name of epsilon1.3 rather than my relatives)is not recognised by the usb hub.Well it is recognised and shows up in the hub but cannot be mounted. To get around this problem I have to download from Camera via windblows where it is recognised as a removable storage device , and copy across to mandrake. So I cannot really use getpix for this purpose. I've spent many hours trying to get my camera mounted by mandrake 8.2 as a mass storage device without success,read everything I can find,but whereas I can get other makes of camera to work this one does not, but I suspect it is a new kernel job . So for now getpix is out. Is "ahead" a bash or perl script. I will look into it. regards, John But later, 11.15 BST, Seems to work just fine with a directory of image files, so the image file data, that is date time , exposure is carried within the image file itself not on the camera. Here is my result, [root@localhost root]# cd /root/Desktop/mont2 [root@localhost mont2]# jhead -n *.JPG DSCI0001.JPG --> 0923-205724.jpg DSCI0002.JPG --> 0923-205734.jpg DSCI0003.JPG --> 0923-205755.jpg DSCI0004.JPG --> 0923-205834.jpg DSCI0005.JPG --> 0923-205855.jpg DSCI0006.JPG --> 0923-210554.jpg DSCI0007.JPG --> 0923-210724.jpg DSCI0008.JPG --> 0924-212723.jpg DSCI0009.JPG --> 0924-212742.jpg DSCI0010.JPG --> 0924-212958.jpg DSCI0011.JPG --> 0924-213148.jpg DSCI0012.JPG --> 0924-213218.jpg DSCI0013.JPG --> 0924-213358.jpg DSCI0014.JPG --> 0924-213637.jpg and just to confirm a point, [root@localhost mont2]# ls 0923-205724.jpg 0923-205855.jpg 0924-212742.jpg 0924-213358.jpg 0923-205734.jpg 0923-210554.jpg 0924-212958.jpg 0924-213637.jpg 0923-205755.jpg 0923-210724.jpg 0924-213148.jpg 0923-205834.jpg 0924-212723.jpg 0924-213218.jpg That's pretty good, I mean , a list of say 200 to 300 image files per directory, is a nice search list when afforded a date/time stamp given a bit more time I could probably get it to put the year as well. and if you want to know the details about a givem image file you do something like this, [root@localhost mont2]# jhead 0923-205724.jpg File name : 0923-205724.jpg File size : 408819 bytes File date : 2003:09:23 20:57:24 Camera make : Unknown Camera model : 1.3M Digital CAM Date/Time : 2003:09:23 20:57:24 Resolution : 1600 x 1280 Flash used : Yes Focal length : 7.5mm Exposure time: 0.067 s (1/15) Aperture : f/2.8 ISO equiv. : 53 Metering Mode: center weight Exposure : program (auto) Jpeg process : Baseline Comment : ??????????????? Hey, Not bad , now that's what I call being in control. John -- John Richard Smith [EMAIL PROTECTED]
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com