ExifTool Forum

ExifTool => Newbies => Topic started by: wildwalks on October 24, 2012, 02:30:50 AM

Title: time shift bug?? (or me == stupid??)
Post by: wildwalks on October 24, 2012, 02:30:50 AM
OK I am confused

I have 5 photos (OK well 10000 but 5 will show the issue)

names based on original exif create date (yyyymmddhhmmss)

1) 20090101201746_A.jpg
2) 20090101201750_A.jpg
3) 20090101201754_A.jpg
4) 20090101201758_A.jpg
5) 20090101201802_A.jpg

When I run this
exiftool "-AllDates+=00:00:04" *_A.jpg
I expect the creation date etc to advance 4 seconds
But here are the actual results of the "Create Date"
1) 2009:01:01 20:17:50 (perfect :)
2) 2009:01:01 20:17:30 (weird was expecting "2009:01:01 20:17:54")
3) 2009:01:01 20:17:34 (weird was expecting "2009:01:01 20:17:58")
4) 2009:01:01 20:17:38 (weird was expecting "2009:01:01 20:18:02")
5) 2009:01:01 20:17:42 (weird was expecting "2009:01:01 20:18:06")

I am running a fairly new version of exiftools (installed about 2 weeks ago, but not sure how to check current version) on a linux box

Any ideas??

Thanks

Matt  :)
Title: Re: time shift bug?? (or me == stupid??)
Post by: Phil Harvey on October 24, 2012, 07:50:46 AM
Hi Matt,

We have some work to do because I don't understand this.  Could you post a console log of these commands on your system?  This is what I get:

> exiftool -ver
9.03
> exiftool -a -G1 -createdate *_A.jpg
======== 20090101201746_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:17:46
======== 20090101201750_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:17:50
======== 20090101201754_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:17:54
======== 20090101201758_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:17:58
======== 20090101201802_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:18:02
    5 image files read
> exiftool -alldates+=00:00:04 *_A.jpg
    5 image files updated
> exiftool -a -G1 -createdate *_A.jpg
======== 20090101201746_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:17:50
======== 20090101201750_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:17:54
======== 20090101201754_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:17:58
======== 20090101201758_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:18:02
======== 20090101201802_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:18:06
    5 image files read


- Phil
Title: Re: time shift bug?? (or me == stupid??)
Post by: wildwalks on October 24, 2012, 05:15:19 PM
Thanks Phil

I can understand the confusion


# exiftool -ver
9.03
# exiftool -a -G1 -createdate *_A.jpg
======== 20090101201746_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:17:46
======== 20090101201750_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:17:50
======== 20090101201754_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:17:54
======== 20090101201758_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:17:58
======== 20090101201802_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:18:02
    5 image files read
# exiftool -alldates+=00:00:04 *_A.jpg
    5 image files updated
# exiftool -a -G1 -createdate *_A.jpg
======== 20090101201746_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:17:50
======== 20090101201750_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:17:30
======== 20090101201754_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:17:34
======== 20090101201758_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:17:38
======== 20090101201802_A.jpg
[ExifIFD]       Create Date                     : 2009:01:01 20:17:42
    5 image files read



Weird hey :)
Title: Re: time shift bug?? (or me == stupid??)
Post by: wildwalks on October 24, 2012, 05:20:44 PM
Just tried it on another machine and it works as expected. 
I must have some problem with the install on the first machine.
I do remember having some errors during the install phase, but like all good newbies I ignored them all  :-\

Still strange though.
Title: Re: time shift bug?? (or me == stupid??)
Post by: Phil Harvey on October 24, 2012, 07:27:47 PM
Wow, that would be a very odd install problem.  But try uninstalling and re-installing (https://exiftool.org/install.html#Windows) on the bad machine and see if this helps.

- Phil