Write a different value of the same tag in multiple files with one command

Started by dzeek, April 18, 2020, 02:15:04 PM

Previous topic - Next topic

dzeek

I have extracted a series of frames from a video file into a series of JPG files using FFMPEG. I need to calculate and write the value of the EXIF tags "DateTimeOriginal" and "CreateDate" for each file. Is is it possible to do this with one exiftool command? For example, something like:

exiftool -DateTimeOriginal=@list -CreateDate=@list *.jpg

where list is a file that contains the list of values to be written for each file. In other words, the first value in the list would be written to the tags in the first file, the second value in the list to the tags in the second file, etc.

This is going to be done for multiple videos on a repeated basis so I would like to find an automated way. I know I could use a command for each file but that would be much slower.

StarGeek

I would suggest converting your list to a CSV file and using the -csv option.  See also FAQ #26.
"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