--- sean <[EMAIL PROTECTED]> wrote: > I want to make a dvd slideshow from whole bunch of > jpeg files named > dscxxxxxx.jpg. I want to change each file name to > yy.mm.dd.hh.jpg ( or > any other reasonable format) using the exif info in > the file. > > I realize this isn't the jpeg list, but I'd > appreciate any leads to > lists or projects that might help me. > > > sean >
Remember, perl (specifically CPAN), is your friend. Check out search.cpan.org for a module there called Image::Info. Then after you install that perl module, you could do something like: #!/usr/bin/perl use Image::Info qw(image_info); foreach (@ARGV) { $i=image_info($_); $date = $i->{'DateTime'}; # fudge with date format here to make #it the way you want it `mv $_ $date.jpg`; } (this is off the top of my head and untested, but should give you an idea of how to go about it). Eric ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users