[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: date/time of photos



On 4 Aug 2014 21:59 +1200, from cbannister@slingshot.co.nz (Chris Bannister):
> On Mon, Aug 04, 2014 at 05:08:38AM -0400, ken wrote:
>> It was quite awhile ago, but I used gthumb to offload photos from my Nikon.
>> I didn't like it though because the date&time of the photos were all changed
>> to the date&time of the download.  I much prefer to keep the date&time when
>> the photo was taken.  What experience do others have?
> 
> You could use the ExiF data to get the date the photo was taken.

Indeed. Here's a script I wrote to do exactly that, in case it's
useful for anyone. Consider it to be in the public domain.

It needs adjusting for your particular situation, and it certainly
isn't optimized for performance, but it does the job just fine at
least with my camera.

-- 
Michael Kjörling • https://michael.kjorling.se • michael@kjorling.se
OpenPGP B501AC6429EF4514 https://michael.kjorling.se/public-keys/pgp
                 “People who think they know everything really annoy
                 those of us who know we don’t.” (Bjarne Stroustrup)

Attachment: dcim.fix-timestamps.sh
Description: Bourne shell script


Reply to: