How to import multiple keywords from a CSV file

Started by Glorious1, September 25, 2024, 02:42:35 PM

Previous topic - Next topic

Glorious1

From the docs, I can't quite figure out how to set up multiple list-type items in the csv, and what might be needed in the command-line to make it work.  I suspect there might be a "-sep" in the command, but I can't figure out the overall strategy.

My basic command is exiftool -csv='exiftool.csv' 'test/' -out 'exifslides/'
That is, take the source files from test/, add metadata from exiftool.csv, and output the new files to exifslides/

Phil Harvey

You can see the required format like this:

> exiftool a.jpg -subject=one -subject=two
    1 image files updated
> exiftool a.jpg -subject -csv
SourceFile,Subject
a.jpg,"one, two"

Then use -sep ", " as you mentioned to separate the items when importing.

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

Glorious1