Batch set creation date of images

Started by Minary, June 08, 2017, 10:43:19 AM

Previous topic - Next topic

Minary

I have a set of images I have extracted from a video. Now I want to set the creation date/date time original of the images so that one second passes from one image to the next, from the first through to the last image.

For example,

say that I images with names following the following pattern;

frame_0110, frame_0111...frame_0298.

How can I set an arbitrary date so that frame_0110's creation date is X and frame_0111's is x+1 etcetera?

Doing this will allow me to adjust date of the images according to the following method,
"-DateTimeOriginal+=5:10:2 10:48:0" DIR.

Best Regards
Joel Forsmoo

Phil Harvey

Hi Joel,

There are a number of posts explaining this.  Here is one.

Basically, you use FileSequence to adjust the time, like this if you want increments of 1 second:

exiftool "-createdate+<0:0:${filesequence}" DIR

The numbering of course depends on the order the files are processed.  You may use the -fileOrder option to control this if necessary.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Minary

Hi Phil,

Thank you very much - I really appreciate your prompt reply!

As English is not my first language I see now that I did not use the correct search term(s).

Thank you very much again!

Best Regards
Joel