ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: MajorTom on December 26, 2011, 01:46:52 AM

Title: CreatorWorkEmail is not preserved/copied
Post by: MajorTom on December 26, 2011, 01:46:52 AM
I'm currently using 8.73 under Windows XP and have a .bat file similar to this:

exiftool ^
-all= ^
-TagsFromFile @ ^
-Creator ^
-Rights ^
-CreatorWorkEmail ^
-CreatorWorkURL ^
-recurse -preserve -overwrite_original -ext .jpg %1


Where %1 receives a folder name.

The problem is that CreatorWorkEmail and CreatorWorkURL get removed (while Creator and Rights remain).
I don't know when this started, but I believe this wasn't happening in some earlier versions.
Title: Re: CreatorWorkEmail is not preserved/copied
Post by: Phil Harvey on December 26, 2011, 08:28:40 AM
This changed in version 8.44.  I'm sorry for the inconvenience.  Backward compatibility is very important to me, so I didn't make this change lightly.

XMP tags are now copied as structure by default, so specifying "flattened" tag names no longer has an effect when copying.  See the Copying section of the structured information documentation (https://exiftool.org/struct.html#Copying) and the XMP tag name documentation (https://exiftool.org/TagNames/XMP.html) for details.

There are 2 ways to fix your problem:

1) Specify --struct on the command line to copy flattened tags as before.

2) Specify -creatorContactInfo instead of the individual flattened tags to copy the entire structure.

The advantage of copying by structure is that the original structure of the information is preserved, which is very important in some cases, and the reason that this change was made.

- Phil
Title: Re: CreatorWorkEmail is not preserved/copied
Post by: MajorTom on December 26, 2011, 11:24:52 PM
Thanks for clarification, Phil.

Technically, should second option work any faster than first? :)
Title: Re: CreatorWorkEmail is not preserved/copied
Post by: Phil Harvey on December 27, 2011, 06:52:44 AM
Speed-wise, method 1) may be faster in theory, but probably not noticeably.

- Phil
Title: Re: CreatorWorkEmail is not preserved/copied
Post by: Phil Harvey on March 13, 2012, 08:25:51 AM
Update:  As of ExifTool 8.83, you no longer need to use the --struct option to copy flattened tags by name.

- Phil