Avoiding duplicate keywords?

Started by chall_de, February 19, 2017, 07:43:27 AM

Previous topic - Next topic

chall_de

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

Phil Harvey

Hi Christian,

FAQ 17 explains how to do this.

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