How can I join this two commands into one single line?
exiftool -IPTC:keywords+={$keyword} -overwrite_original prueba.jpg
exiftool "-Exif:copyright<${keywords}" -overwrite_original prueba.jpg
so exiftool don't run two times.
exiftool -IPTC:keywords+={$keyword} "-Exif:copyright<${keywords}, {$keyword}" -overwrite_original prueba.jpg
- Phil
Thanks.
And other question
Can I add a keyword(example: "word") only if "word" is not already a keyword?
Quote from: instigator on November 29, 2010, 10:24:52 AM
Can I add a keyword(example: "word") only if "word" is not already a keyword?
Yes. There is a not-very-intuitive yet obvious-by-hindsight technique for doing this which is mentioned in FAQ number 17 (https://exiftool.org/faq.html#Q17).
- Phil