ExifTool Forum

ExifTool => Archives => Topic started by: Archive on May 12, 2010, 08:54:35 AM

Title: sidecar xmp to DNG
Post by: Archive on May 12, 2010, 08:54:35 AM
[Originally posted by oioioi on 2009-05-08 07:13:36-07]

I've been looking for a methode to get all data from a sidecar file into DNG, including adobe Bridge Hierarchical keywords. XMP files have the same name as the DNG. Is this possible?
Thanks a million.
oioioi
Title: Re: sidecar xmp to DNG
Post by: Archive on May 12, 2010, 08:54:35 AM
[Originally posted by exiftool on 2009-05-08 12:40:53-07]

There are a few ways to do this:

1. To combine the XMP with existing XMP in the DNG:

Code:
exiftool -tagsfromfile %d%f.xmp -all:all -ext dng DIR

This will write only writable XMP tags, so may not transfer some
uncommon tags to the file.

2. To overwrite existing XMP in the DNG with the sidecar file:

Code:
exiftool "-xmp<=%d%f.xmp" -ext dng DIR

This will write the full XMP sidecar file to the DNG.

DIR may be one or more file and/or directory names.  Use the
-r option to also process DNG files in subdirectories.

- Phil
Title: Re: sidecar xmp to DNG
Post by: Archive on May 12, 2010, 08:54:36 AM
[Originally posted by oioioi on 2009-05-21 12:30:43-07]

Thanks a lot Phil !!