Hi Phil
Use of uninitialized value $tmpFile in utime at /usr/local/bin/exiftool line 2804.
Error setting file time - ahc_4829_cr2_800.jpg
1 image files updated
Use of uninitialized value $tmpFile in utime at /usr/local/bin/exiftool line 2804.
Error setting file time - ahc_4829_cr2_800.jpg
exiftool version 9.10. This is on a new macbook pro
I copied my scripts and photo to my old macbook with snowleopard, exiftool version 8.58 and didn't get the error.
I haven't identified which line in my script is doing this - I'll get back to you with the exact command line. I may be missing something on the new computer.
Alan
I don't get an error without an argfile so this is probably the command line. Investigating further.
# process the argfile
if [ "${ARGFILE}" ]; then
echo "exiftool argfile is: ${ARGFILE}" >&2
exiftool -m -P -@ "${ARGFILE}" "${xmpphoto}" >&2
fi
alan@egremont:scripts-test$ exiftool -m -P -@ keywordsbathsheba.args ahc_4829_cr2_800.jpg
Use of uninitialized value $tmpFile in utime at /usr/local/bin/exiftool line 2804.
Error setting file time - ahc_4829_cr2_800.jpg
1 image files updated
Use of uninitialized value $tmpFile in utime at /usr/local/bin/exiftool line 2804.
Error setting file time - ahc_4829_cr2_800.jpg
The argfile is attached.
Not sure what to look for next.
Hi Alan,
Thanks for pointing this out. (Too bad you just missed the 9.11 release though. :( )
I'll release an update tonight, and version 9.12 should fix this. The problem was introduced in version 9.10 and occurs when -P is combined with some arguments (including -overwrite_original_in_place).
- Phil
Thanks Phil.
Alan