Creating a new tag for json data... and max len

Started by qbit, May 30, 2024, 12:28:58 PM

Previous topic - Next topic

qbit

What would be the command to create a new tag (I am assuming XMP) to for text (json), and, if so, how large can that tag be?

The goal is to copy ALL a photos metadata into a another tag--i.e.create a backup--so I and others can CRUD the other fields.

I am prioritizing (no) sidecars, but I would also like to add my own history tag(s) (Timestamp,Editor).


 

StarGeek

There's no command to create a new tag.  You have to create a definition for your new tag.  From there, you would either save it as a separate config file and use the -Config option to activate it or you would add it to your .exiftool_config file.

Creating an XMP tag would be the best, as this quote from Phil says about the size
Quote from: Phil Harvey on August 21, 2018, 09:59:28 AMExifTool doesn't impose any length limitation on PDF or XMP metadata.

See the example.config file for details.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype