exiftool -TagsFromFile dsc_2774.jpg dsc_2774.nef
I would never suggest copying all tags to a RAW image like this. It
will likely break the RAW image for most viewers if you write the
MakerNotes, Make, Model, and maybe some other tags.
exiftool -tagsFromFile a.jpg -XMP:All a.nef
This should be OK. Please give me more details (camera model,
software used) if you have
problems with images edited using this command.
- Phil