I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-11-15 17:52:14-08 by louiscar
Phil: Copying tags from Sidecar xmp files to raw files
I've been so successful with using Exiftool that I'm thinking of some other possibilties. Your fault for giving us such a powerful utility. :-)

As Lightroom and Acdsee both save Raw settings to sidecar XMP files and it now seems withing the realms of possiblity to store both sets of data in the Raw file I'm reworking my batchfiles to copy required fields from these sidecar files to the raw files directly.

Originally your previous suggestion works well but leads to problems particularly when using Acdsee which doesn't retain any Lightroom fields.
Interestingly LR does retain Acdsee settings by copying -xmp:acdsee to it's database.

So if I were to use:
exiftool "-xmp<=%%d/%%f.xmp" -ext nef .


to copy the sidecar files I get into a problem if I do any keywording in Acdsee after storing LR Raw adjustments, simply because it's replacing ALL existing xmp data

So I came up with the following to isolate tags that I want to copy from any sidecar file:
exiftool -tagsFromFile dsc_2774.xmp -@ Copyfrom.args dsc_2774.nef


Copyfrom.args currently has just a few test lines in it:
# Raw settings<br> -XMP-crs:all &gt; xmp-crs:all<br> -xmp-acdsee:all &gt; xmp-acdsee:all<br> #xmp tags<br> -xmp-dc:subject &gt; xmp-dc:subject<br> -xmp-dc:rights &gt; xmp-dc:rights<br>


The problem I have is that I cannot get exiftools to copy the acdsee tag (line 3), I get an error
'no writeable tags found in dsc_2774.xmp'. I've tried several alternatives but with the same result.

This is confusing as the xmp-crs: field copies without problem and so do the other xmp-dc tags.

Acdsee's tag starts like this:
<acdsee:rpp> <rdf:Alt> <rdf:li xml:lang="x-default">&lt;?xml version="1.0"?&gt;&lt;command&gt;&lt;name&gt;ExposureLev +els&lt;/name&gt;&lt;parameters&gt;&lt;int id="Warning"&gt;0&lt;/int&gt;&lt; .....................
Do you have any idea what might be the problem?
Direct Responses: 9325 | Write a response