Dear community,
I am trying to replace a certain keyword by another. Based on the application documentation I try
exiftool -if '$keywords =~ "03_Vortag"' -keywords-="03_Vortag" -keywords+="Vortag"
alternatively also
exiftool -if '$keywords =~ /03_Vortag/' -keywords-="03_Vortag" -keywords+="Vortag"
but it does not work. I only get "files failed condition". The keyword "03_Vortag" that should be replaced is
a) not present in all files, which is why I need the if-condition (otherwise I end up with the keyword "Vortag" in all files
b) only one keyword among others.
Would be great if anyone could give me a clue what I am doing wrong?
Best,
Peter