[Originally posted by photonoxx on 2009-11-21 10:29:52-08]
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
[Originally posted by exiftool on 2009-11-21 11:42:05-08]Hi Nicolas,
Yes. This command should do it for you:
exiftool -exif:all= -tagsfromfile SRCDIR/%f.nef -exif:all -ext nef DSTDIR
Where SRCDIR is the directory containing your originals, and DSTDIR
contains the images you want to fix.
- Phil
[Originally posted by photonoxx on 2009-11-21 13:22:51-08]
Thanks Phil,
I try this tonight.
And Thanks for Exiftool which are a really great tool (my only deception is there not really powerfull GUI for it on Linux)
Nicolas