Updating exif in several files, based on data stored in one file? -TAG<=DATFILE?

Started by Allan Olesen, August 04, 2012, 09:11:07 AM

Previous topic - Next topic

Allan Olesen

I need to change four tags in several xmp files. The tags will be different for each xmp file.

I would like to store them all in one text file in some format like <filename><tagname><value> and then let exiftool read the values from that file.

In the documentation, a -TAG<=DATFILE function is briefly described, and it seems that it might do what I want. But I have not been able to find a description of the necessary syntax in that file.


Phil Harvey

Hi Alan,

Yes, either CSV format with -csv=, or JSON format with -json=, or command-line argument format with -@, or XML format with -tagsfromfile should do what you want.

- 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 ($).