
ValueConv => '($val - 74415)', #set offset here # override ShutterCount tag to use an offset of 74414 For example, if the original file name was DSC_4405.nef and the shutter count for that frame is 78820, the offset would be 74415. Take the resulting shutter count number and subtract the original file number from the shutter count number so you can come up with the proper offset.

Next, find out what the shutter count is for the frame:Įxiftool -subsecdatetimeoriginal -shuttercount 0005104.nef

If you know what the file(s) original file name was (such as if they were cataloged in Lightroom) find the first file by earliest capture time order. 0007851.nef) on the recovery drive/folder. Say you have a bunch of files recovered from a crashed drive. This technique is useful for older cameras such as my old Nikon D2Xs that did not store the original file number in the ExIF data. List all files in a directory, display filenumber and sort by filenumber ExIF FieldĮxiftool.exe "-filenumber" -fileOrder filenumber *.nefĮxiftool.exe -model "-filenumber" -fileOrder filenumber *.nefĮxiftool.exe "-FileName Extract large JPEG images from all NEF's and write them in the same hierarchy in the destination folder.Įxiftool -r -jpgfromraw -b -ext nef -w DSTDIR/%d%f.jpg SRCDIR