Please help with Time Shift!

Started by longbeard, July 13, 2017, 05:16:05 PM

Previous topic - Next topic

longbeard

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!!!

Hayo Baan

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).
Hayo Baan – Photography
Web: www.hayobaan.nl

longbeard

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!

longbeard

I figured it out! To add 19 seconds I used this:

exiftool -AllDates+=0:0:19 /Users/Me/Desktop/Pics

Thanks!!

StarGeek

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 answer.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

StarGeek

Ah, never mind my questions then.  Glad you figured it out.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype