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?
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
Thank you again.