It might not be hiding in the “JpgFromRaw” location, try a different one? Use exiftool -a -u -s -G1 to see the file structure. It’s also possible that there simply is no thumbnail/preview embedded…
I use this command, which should extract all embedded previews: exiftool -a -b -W %d%f_%t%-c.%s -preview:all *.ORF
And a shell script that will take as argument any number of files and/or folders:
#!/bin/bash
for var in "$@"
do
echo "## $var"
if [ -d "${var}" ] # Directory
then
path=$var
file=$var
elif [ -f "${var}" ] # File
then
path="$(dirname "${var}")"
file="$(basename "${var}")"
else
echo "Not a valid file or directory"
exit 1
fi
cd "$path" || exit
exiftool -a -b -W %d%f_%t%-c.%s -preview:all "$file"
done