ExifTool Forum

ExifTool => Newbies => Topic started by: chall_de on February 19, 2017, 07:43:27 AM

Title: Avoiding duplicate keywords?
Post by: chall_de on February 19, 2017, 07:43:27 AM
Hello,

I'm a real beginner with ExifTool and I have the following problem:

I want to add the keyword "People" to an image but only if the keyword does not exist.
I have tried the following command but if I use it multiple I get duplicates.

exiftool -P "-keywords+=People" "E:\Test\0012.TIF"

How can I realize this?

Thanks in advance

Christian
Title: Re: Avoiding duplicate keywords?
Post by: Phil Harvey on February 19, 2017, 08:53:27 AM
Hi Christian,

FAQ 17 (https://exiftool.org/faq.html#Q17) explains how to do this.

- Phil