2025-07-02: ExifTool 13.32 is now available
exiftool -j -preview:all myimage.NEF
[{
"SourceFile": "myimage.NEF",
"JpgFromRaw": "(Binary data 1232426 bytes, use -b option to extract)",
"OtherImage": "(Binary data 601734 bytes, use -b option to extract)",
"PreviewImage": "(Binary data 109671 bytes, use -b option to extract)",
"ThumbnailImage": "(Binary data 8336 bytes, use -b option to extract)",
"PreviewTIFF": "(Binary data 98514 bytes, use -b option to extract)",
"ThumbnailTIFF": "(Binary data 210 bytes, use -b option to extract)"
}]
exiftool -a -b -W pv1/%f_%t%-c.%s -preview:all 20250302_144047.170__R5m2-8486.CR3
. The command is copied from the thread "https://exiftool.org/forum/index.php?topic=7227.0", ExifToolVersion: 13.32.exiftool -a -G1 -s 20250302_144047.170__R5m2-8486.CR3 >20250302_144047.170__R5m2-8486.CR3.txt
is of course in the .txt file. The same for exiftool -a -G1 -s 20250302_144047.170_CR5m2-8486.HIF >20250302_144047.170_CR5m2-8486.HIF.txt
. It is a guess by me that the format of the preview files is the same as that of the 'HIF' file.