ExifTool Forum

ExifTool => Developers => Topic started by: sridhar on January 18, 2012, 07:11:39 PM

Title: Write to 'Rights Usage Terms' field
Post by: sridhar on January 18, 2012, 07:11:39 PM
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
Title: Re: Write to 'Rights Usage Terms' field
Post by: Phil Harvey on January 18, 2012, 09:08:36 PM
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).
Title: Re: Write to 'Rights Usage Terms' field
Post by: sridhar on January 19, 2012, 01:06:17 PM
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
Title: Re: Write to 'Rights Usage Terms' field
Post by: Monte on June 14, 2018, 12:56:53 PM
ditto.  Thanks much Phil!
Title: Re: Write to 'Rights Usage Terms' field
Post by: Phil Harvey on June 14, 2018, 01:24:53 PM
@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
Title: Re: Write to 'Rights Usage Terms' field
Post by: Monte on June 15, 2018, 07:06:46 PM
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. 
Title: Re: Write to 'Rights Usage Terms' field
Post by: Phil Harvey on June 16, 2018, 07:16:10 AM
It seems as if you are a real person. :)

Welcome to the forum!

- Phil