Hi Phil & others,
I am looking for a way to change the DateTimeOriginal of images with an increment/interval of e.g. 1 sec using a certain start and end time for the images. Is that possible? How can I use it? I know that with the Exifer of Friedemann Schmidt it is possible but it's not for batch jobs.
Thanks & best regards,
Christian
Hi Christian,
Here is thread (https://exiftool.org/forum/index.php/topic,3221) in which a user posted a batch file that seems to be exactly what you need.
- Phil
Hi Phil,
Thanks for your fast reply. Indeed, this seams to be exactly what I was looking for. :) I will check it with my photos.
I am still looking for an option to copy from another time to DateTimeOriginal in batch. Do you have any idea how I can do this?
Best regards,
Christian
Hi Christian,
Copying tags is a basic function of exiftool. It is done like this:
exiftool "-DSTTAG<SRCTAG" ...
- Phil
Hi Phil,
Thanks for your input again. And sorry, I'm not that used to it - but I will further try.
Best regards,
Christian
Hi Phil,
I have tried over and over again to copy from one time tag to another one in the jpgs but it didn't work. I also didn't find the error after reading the whole documentation on that functionality.
In detail I wanted to copy in batch the tags from gpstimestamp to datetimeoriginal for all jpgs in a specific folder. Therefore I used e.g. the following cmd-line... exiftool "-$datetimeoriginal<$gpstimestamp" d:\images
Do I have to copy all jpgs upfont or add the tag in general? I'm quite confused what went wrong. Do you have any idea how I can make it?
Thanks & best regards,
Christian
Hi Christian,
Quote from: Chris75 on September 29, 2011, 09:40:40 AM
exiftool "-$datetimeoriginal<$gpstimestamp" d:\images
There are a couple of problems with this. Instead, try:
exiftool "-datetimeoriginal<gpsdatetime" d:\imagesThis will work if both GPSDateStamp and GPSTimeStamp exist in your images (they are required by the Composite (https://exiftool.org/TagNames/Composite.html) GPSDateTime tag).
- Phil
Hi Phil,
Thanks for you very fast reply!
Only the tag gpstimestamp is available in the images but I'd like to add datetimeoriginal with the same time as in gpstimestamp. Do I have to take something additionally into account?
Best regards,
Christian
Hi Christian,
You need to get the date from somewhere. To set it manually, you could do something like this:
exiftool "-datetimeoriginal<2011:09:29 $gpstimestamp" d:\images
(Note that if you are on Mac or Linux you must use single quotes instead of double quotes around arguments containing a $ symbol.)
- Phil
Hi Phil,
Thanks again for your reply. I've tried the cmd-line and added the date manually and it works but the gpstimestamp was not copied to the datetimeoriginal tag. It now includes the manually set date and a time that wasn't available in any time tag, really strange!
Best regards,
Christian
I think you should probably read FAQ number 3 (https://exiftool.org/faq.html#Q3), but if I had more information I could maybe figure out what is going on.
- Phil
Thanks, I will check the FAQ3 and further try to fix it.
Best,
Christian