Combining custom text with EXIF tag in new keyword

Started by dragn, August 10, 2014, 01:47:59 PM

Previous topic - Next topic

dragn

Hello, I hope someone can help me with this excellent tool. I have managed to achieve most of what I want with it, but the following has me stuck.

I can add the ISO tag as a new keyword using the following:

exiftool "-ISO>keywords" . -ext JPG

But I want the output to say "ISO 50", not just "50" (for a setting of 50 of course). (BTW, I know that if I want to add multiple keywords, I need to put a + after the >, thus: ">+")

I have tried to use command line input like the below, but I have got something wrong.

exiftool "ISO -ISO>keywords" . -ext JPG

Can you help? :)

StarGeek

You could use
ExifTool "-keywords<ISO $iso" -ext JPG .
and that will overwrite all previous keywords and just add the new one.

Change it to
ExifTool "-keywords+<ISO $iso" -ext JPG .
To add the ISO without overwriting previous keywords.

* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

dragn

Thank you very much! That works and helps me understand the correct syntax for this type of operation.

Wow, people here are so helpful. Thank you again.