[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:
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:
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