a question about correcting time data

Started by manni1, June 25, 2018, 09:23:55 AM

Previous topic - Next topic

manni1

Hi,

I need to correct the years value of newly scanned slides from old days. The file dates are about actual, I need to set them into the past when the slides were made.

Something like exiftool-6 -FileModifyDate-="31:0:0 0" *.* works fine and sets the year 31 back. OK
A larger value to correct such as exiftool-6 -FileModifyDate-="55:0:0 0" *.* brings an error message =>  Warning: Sec too small - -8445 < 0 when shifting FileModifyDate - 62-D01-26.jpg

Is the a limit / a special year for valid year data?
Seems that the year 1970 is the first valid year.

Or do I miss soemthing?

Thanks for help
manni

Phil Harvey

Hi Manni,

Yes.  ExifTool uses the C library date/time functions which are limited to the range 1970-2034 on many systems.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

manni1