ExifTool Forum

ExifTool => Newbies => Topic started by: gknorman on November 06, 2019, 04:28:52 PM

Title: Preserving XMP files
Post by: gknorman on November 06, 2019, 04:28:52 PM
I am a day 1 Newbie so apologies if I missed this somewhere obvious...  need to use Exiftool to rename Sony A9ii AWR (raw) files to A9, since LR CC does not yet process A9ii AWR files.  So I downloaded and used exiftool(-SonyModelID=ILCE-9 -overwrite_original ) to make this change, having already reviewed all the A9ii images in Photo Mechanic for culling and assigning star values.  After the exif conversion, I noted the AWR images could now be rendered by LR CC, but were no longer showing the star assignments I previously made in Photo Mechanic, even though those XMP files remained in the same directory as the converted files by Exiftool.

Is there a simple solution to preserving the XMP sidecar information using Exiftool?

Many thanks.
Title: Re: Preserving XMP files
Post by: StarGeek on November 06, 2019, 05:54:40 PM
Exiftool doesn't touch the sidecar files unless you give explicit commands to do so.  If you rename the AWR files you need to rename the XMP files as well.
Title: Re: Preserving XMP files
Post by: Alan Clifford on November 06, 2019, 07:04:13 PM
Quote from: StarGeek on November 06, 2019, 05:54:40 PM
Exiftool doesn't touch the sidecar files unless you give explicit commands to do so.  If you rename the AWR files you need to rename the XMP files as well.

Re-reading the post, it looks like the op didn't actually rename the files.  Rather he changed a tag.
Title: Re: Preserving XMP files
Post by: Alan Clifford on November 06, 2019, 07:06:05 PM
Just guessing here:  is there a tag in the xmp file that identifies it as an A9ii file?
Title: Re: Preserving XMP files
Post by: StarGeek on November 06, 2019, 10:36:34 PM
Quote from: Alan Clifford on November 06, 2019, 07:04:13 PM
Re-reading the post, it looks like the op didn't actually rename the files.  Rather he changed a tag.

Hmmm... I guess so.

But changing the RAW doesn't change the XMP sidecar.  That has to be explicitly added to the command.  It would be more on the Lightroom side to figure out why it stopped using the sidecar.
Title: Re: Preserving XMP files
Post by: Alan Clifford on November 07, 2019, 07:31:07 AM
But lightroom didn't stop using the sidercar file as the op said that Lightroom was unable to process A9ii files.  So it never used the sidecar file.

Which is why I'm guessing there is aa a9ii tag in the sidecar file that stops lightroom from using it.
Title: Re: Preserving XMP files
Post by: StarGeek on November 07, 2019, 10:38:15 AM
Ah, very good point.