CreatorWorkEmail is not preserved/copied

Started by MajorTom, December 26, 2011, 01:46:52 AM

Previous topic - Next topic

MajorTom

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.

Phil Harvey

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 and the XMP tag name documentation 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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

MajorTom

Thanks for clarification, Phil.

Technically, should second option work any faster than first? :)

Phil Harvey

Speed-wise, method 1) may be faster in theory, but probably not noticeably.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Phil Harvey

Update:  As of ExifTool 8.83, you no longer need to use the --struct option to copy flattened tags by name.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).