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

Re: Photo time are wrong



On 07/13/2010 09:24 AM, T o n g wrote:
> Hi,
> 
> I use to get correct file time for my photos from my digital camera. But 
> recently they are all wrong now, shifting by about 3 hours. 
> 
> The camera is the same. Something get changed on Debian side? How can I 
> fix it? (photos are from mounted SD card via SD card reader).
> 
> Thanks

The first thing that comes to mind is, did you recently change batteries
in the camera?  Some cameras lose their memory and need to be reset,
though this is usually from a 'default' that is off by more than a few
hours.

Another possibility is the batteries are getting low on power?

In any case, you can use 'exiftool -CreateDate file.ext' to get the date
and time the camera was set to when the photo was taken.  If this
doesn't match the values you expect to see, either, then the problem is
in the camera.  If it is what you expect and it doesn't match the date
and time *on the SD card*, there's something odd going on with the
camera.  If the two dates match but the value after copying/moving to a
Linux fs (presuming you attempted to preserve, or the tool you use
preserves, the file modification time), then something is amiss on the
Linux side.  You may need to verify your locale settings.

If you find the date displayed by exiftool is OK, you can use exiftool
to rename the files, based on the date and time of creation or even have
it set the modification times (a la 'touch').

-- 
Bob McGowan


Reply to: