ExifTool Forum

General => Metadata => Topic started by: BenVS on March 17, 2025, 06:40:27 AM

Title: Writing to the DataMining field
Post by: BenVS on March 17, 2025, 06:40:27 AM
Hi

Could I check the correct syntax for writing to the DataMining field?

I have tried:

exiftool -DataMining="DMI-ALLOWED" C:\testimages\newtest.jpg
exiftool -DataMining="'DMI-ALLOWED'" C:\testimages\newtest.jpg
exiftool -DataMining='DMI-ALLOWED' C:\testimages\newtest.jpg

But I get error:

Warning: Can't convert XMP-plus:DataMining (not in PrintConv)
Thanks!
Title: Re: Writing to the DataMining field
Post by: Phil Harvey on March 17, 2025, 07:24:52 AM
This is FAQ 6 (https://exiftool.org/faq.html#Q6).  Consult the XMP PLUS Tag Name documentation (https://exiftool.org/TagNames/PLUS.html#XMP) for a list of value conversions.

Or you can write DataMining# (with a "#") to avoid the conversion and write "DMI-ALLOWED" directly.

- Phil
Title: Re: Writing to the DataMining field
Post by: BenVS on March 17, 2025, 05:15:39 PM
Many thanks, got it all working now