Hi,
I have a requirement to be able to write values to 'Rights Usage Terms' field programmatically.
(Please note that it is the last field in IPTC tab in photoshop. File -> 'File Info' option)
exiftool.exe -XMP:"Usage Terms"="Sample" users\<FileName>.jpg
1 image files updated
Though it says image file updated, when I opened the newly created file in Photoshop, it still shows the old value.
Is there a way to successfully update? Am I missing something here..much appreciate any inputs.
Thanks,
Sridhar
Hi Sridhar,
It is interesting that your command even works. It is writing the "Usage" tag. I should look into this.
There are no spaces in tag names. Try -xmp:usageterms="Sample"
- Phil
Edit: I understand why this is happening, but there isn't any simply way to change this to issue a warning for an invalid name. BTW, your problem is FAQ number 2 (https://exiftool.org/faq.html#Q2).
Thank you Phil, first for this excellent tool and then for patiently responding to the question.
As suggested, the tagname without space worked like charm. It resolved my issue.
Thanks again,
Sridhar
ditto. Thanks much Phil!
@Monte: Don't take it personally, but I will delete useless posts like this one from new members to stay one step ahead of potential sleeper spam. Especially since this was made on a 6-year-old topic.
- Phil
Got it, thanks. I see now it does look suspicious, responding with no substance to a 6-year-old topic. The issue was a brand-new topic at work for me yesterday, and the solution posted here, old as it was, was exactly what I needed.
It seems as if you are a real person. :)
Welcome to the forum!
- Phil