Hi, I'm a total newb (in exif & command line) and can't figure out how to shift a batch of raw images ahead by 19 seconds in mac terminal. I tried entering this:
exiftool "-DateTimeOriginal+=0:0:0 0:0:19" DIR
But it didn't work. (I know DIR is directory folder.) What is the correct formula?
Thanks in advance!!!
Have you already tried not providing a day shift? So only provide the 00:00:19 time part. I'm not at my computer right now so I can't check, but I think that should work. Also on a Mac, in general, you'd want to use single quotes instead of double quotes to prevent the shell interpreting the string (not an issue with this command though).
I just tried entering:
exiftool "-DateTimeOriginal+=0:0:19" DIR
and
exiftool '-DateTimeOriginal+=0:0:19' DIR
No luck yet. The Terminal scans & updates, but the images only changes to the current time. And other ideas? Thanks!
I figured it out! To add 19 seconds I used this:
exiftool -AllDates+=0:0:19 /Users/Me/Desktop/Pics
Thanks!!
Where are you reading the info to see if the time has shifted? If the time has been changed to the current time, then it is probably reading FileModifyDate, not DateTimeOriginal.
What is the result of exiftool -g1 -a -s -DateTimeOriginal FILE (pick one file to check and replace FILE with the full path to that file).
If there wasn't an error response, then DateTimeOriginal was updated. This is probably a FAQ 3 (http://www.exiftool.org/faq.html#Q3) answer.
Ah, never mind my questions then. Glad you figured it out.