2025-04-27: ExifTool 13.29 is now available
-p "$Filename $DateTimeOriginal $FileModifyDate ${DateTimeOriginal;$_=abs(GetUnixTime($_)-GetUnixTime($self->GetValue('FileModifyDate')))}"
Quote from: herb on April 25, 2025, 03:54:10 AMIt is unclear to me why and when in addition the option -a has to be used.
Quote from: glup on April 25, 2025, 06:16:28 AMWould it be possible to explain slightly the command? -if '$$GeolocationTimeZone eq \"$GeolocationTimeZone\" looks odd to me...
Quote from: StarGeek on April 24, 2025, 05:32:41 PMexiftool -config GPSDateTimeLocal.config -api geolocation -d '%Y:%m:%d %H:%M:%S%:z' -if '$GeolocationTimeZone eq "America/Los_Angeles" ' -api TimeZone='America/Los_Angeles' '-SubSecCreateDate<GPSDateTimeLocal' /path/to/files/
QuoteThe -d... is necessary so that '-SubSecCreateDate<GPSDateTime' works by using -api timezone, right? Isn't the fraction of seconds missing, so '%Y:%m:%d %H:%M:%S.%f%:z' should be correct just in case someone may need the ms?
QuoteWouldn't beexiftool -if '$gpsmeasuremode# == 3' -d '%Y:%m:%d %H:%M:%S.%f%:z' \
in just one command and without GPSDateTimeLocal.config sufficient?
-api geolocation -api timezone='$GeoLocationTimezone' \
'-SubSecCreateDate<GPSDateTime' myfile.ext
Quote from: StarGeek on April 24, 2025, 05:32:41 PMThe problem is that you can't use the GeolocationTimeZone tag a parameter for this option.