Copy metadata from files from dir to dir

Posted on 2009-11-21 10:29:52-08 by photonoxx
Copy metadata from files from dir to dir
Hi,
I experienced an issue with NEF metadata editing in digikam (exiv2) and the result is, for the moment, the edited files are unopenable in CaptureNX.

With exiftool, I succeed to make edited files openable again by copying exif infos from an unedited backup version of the file with this command :

exiftool -exif:all= -tagsfromfile original.nef -exif:all edited.nef

As true I have a lot of file, I would like to know if it could be possible to apply this command to all the files of a directory, assuming original and edited files have the same names but are in separate directory.

Thanks a lot for any answer

Nicolas
Direct Responses: 11798 | Write a response