ExifTool Forum

ExifTool => Newbies => Topic started by: captured on October 25, 2014, 04:41:06 PM

Title: Multipe DateTimeOriginal +1, -1 on the same output line...
Post by: captured on October 25, 2014, 04:41:06 PM
Hello.

System: Debian testing amd64

Is it possible to use a files' -DateTimeOriginal and the -globalTimeShift (Time) together
on a single line output for multiple different -DateTimeOriginal ?

Desired result;

Filename        DateTimeOriginal    Time           DateTimeOriginal2   Time(shifted +1 second)
blahblah.jpg   2014-10-28            00:03:15    2014-10-28             00:03:16

e.g. exiftool -T -Filename -DateTimeOriginal -d '%Y-%m-%d %T' -DateTimeOriginal -globalTimeShift "+0:0:1" -d '%Y-%m-%d %T'

Thank you.
Title: Re: Multipe DateTimeOriginal +1, -1 on the same output line...
Post by: Phil Harvey on October 25, 2014, 07:55:26 PM
You can do this with a user-defined tag.  I think there is an example here if you search for "UserDefined" and "ShiftTime".

- Phil

Edit: Doing the search myself it seems as if I have suggested the search before.  Here is the actual post (https://exiftool.org/forum/index.php/topic,1937.msg8460.html#msg8460) showing the technique.
Title: Re: Multipe DateTimeOriginal +1, -1 on the same output line...
Post by: captured on October 25, 2014, 09:37:07 PM
Thank you Phil.

I could't find it in the search engine.

Best regards.
Title: Re: Multipe DateTimeOriginal +1, -1 on the same output line...
Post by: Phil Harvey on October 26, 2014, 07:16:33 AM
I provided a direct link in the edit I made a few minutes after my post.

- Phil