News:

If this site goes down it is because of the crappy DreamHost web hosting: They will disable your "unlimited traffic" web server if a single bot hammers the site with a moderate load.  If necessary, an alternate ExifTool forum page is available at https://sourceforge.net/p/exiftool/discussion/

Main Menu

[BUG] Nikon Z7 NEF problem - truncated file (?)

Started by ahamel, June 04, 2019, 03:39:47 AM

Previous topic - Next topic

ahamel

Hi,

After executing exiftool -tagsFromFile anImage.jpg "-all:all>all:all" DSC_0241.NEF or simply  exiftool -tagsFromFile anImage.jpg DSC_0241.NEF, the DSC_0241.NEF file change from 51,4 Mo (53 944 350 octets) to 51,2 Mo (53 753 238 octets).

It is no longer possible to open the file in Adobe CameraRAW.

Test performed with versions 11.30 and 11.48 under Windows 10 x64.

Regards,
A. HAMEL

Phil Harvey

Right.  The command you used is very dangerous.  See FAQ 8 for some details, but your command also has the possibility of overwriting the maker notes in the NEF, which could remove some essential information.

What exactly are you trying to accomplish with your command?  You should narrow it down to copy just the information you want.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

ahamel

Hi !

Thank you very much for your answer. I only need to copy the GPS and IPTC data. The
exiftool -tagsFromFile image.jpg -gps:all -iptc:all image.nef
command works perfectly and the modified NEF files open well in Adobe CameraRAW (Test performed with versions 11.30 and 11.48 under Windows 10 x64.).

Rgds,
A. HAMEL