ExifTool Forum

General => Metadata => Topic started by: MOL on June 09, 2012, 08:01:41 PM

Title: Read/write IPTC as a block
Post by: MOL on June 09, 2012, 08:01:41 PM
Hi Phil

according to your log you've added the "ability to read/write IPTC as a block" in the latest version. Can you elaborate a bit on this, please, as I couldn't find anything in the docs? Did I understand correctly: all IPTC tags can be written and read in one go now? If yes, how?

Thx

--Uwe
Title: Re: Read/write IPTC as a block
Post by: Phil Harvey on June 10, 2012, 06:26:20 AM
Hi Uwe,

I did this mainly for symmetry. even though nobody has ever requested this feature.

These block-type tags are found in the Extra Tags (https://exiftool.org/TagNames/Extra.html) documentation.  To copy as a block, use -iptc after -tagsfromfile.  To copy tags individually, use -iptc:all.  For most purposes, these two methods will be equivalent (other than the fact that copying as a block wipes out any existing IPTC in the destination).  However, the block technique will copy non-standard tags that aren't writable individually by ExifTool (although these are rare).

- Phil

Edit: Fixed typo
Title: Re: Read/write IPTC as a block
Post by: MOL on June 10, 2012, 11:39:38 AM
Thanks, Phil.