ExifTool Forum

ExifTool => Newbies => Topic started by: RH on August 03, 2014, 05:11:43 AM

Title: Change by exiftool datetimeoriginal in a group of pictures
Post by: RH on August 03, 2014, 05:11:43 AM
I would like to change $datetimeoriginal in a group of pictures using  exiftool. I need a variable to datetimeoriginal was increased by 1 second.
I tried this way (windows batch):

setlocal enabledelayedexpansion
set /A Counter=0
for %%f in (*.jpg) do (
        echo %%f !Counter!
   set /A Counter+=1       
   rem jhead -mkexif -ts2014:07:22-15:00:!Counter! %%f
   exiftool -datetimeoriginal="2013:10:03 09:55:"!Counter! %%f
)


Previously I used jhead and it works till 59 (pistures) ok. Using exiftool - this way - is a problem. Can anybody help?
Title: Re: Change by exiftool datetimeoriginal in a group of pictures
Post by: Phil Harvey on August 15, 2014, 07:35:00 PM
Sorry for the delay in responding.  I've been on vacation.

You could do this:

exiftool "-datetimeoriginal+<0:0:$filesequence"  -ext jpg DIR

where DIR is the name of the directory containing the images.

- Phil
Title: Re: Change by exiftool datetimeoriginal in a group of pictures
Post by: RH on August 17, 2014, 05:04:23 AM
Thank you again.