On Mon, May 22, 2006 at 07:09:53PM -0700, Richard Otte wrote: >Hi, > >I would like to download photos off of my digital camera in such a way >that they are sorted into directories by date. So a photo taken on >Feb 23,2006 would be put in a directory 2006/02/23/filename. The >camera will often have photos taken on different dates, and I'd like >the directories to be created and the photos to be organized into >these directories automatically. Does anyone know of a program that >will do this? > >I very briefly looked at digikam, but it looks as if it downloads all >the photos into an album, and the photos are not downloaded according >to date. It looks as if I could make a digikam album for each date, >and then manually download photos to the different albums, but this >takes a fair amount of work if there are lots of photos taken on >different dates. > >Any suggestions are appreciated. Thanks, >
you can use libimage-exif-perl to extract the date and time that the photo was taken and use that information to move the photo to a particular directory. Somthing like this: my $exif = new Image::EXIF($file_name); my $image_info = $exif->get_image_info(); that will give you a has reference with all the photo's information. -- Peter Hicks Don't anthropomorphize computers, they don't like it. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]