Use of uninitialized value $json in numeric eq (==) at /usr/local/bin/exiftool

Started by ThankYou, January 26, 2025, 03:21:41 AM

Previous topic - Next topic

ThankYou

I am receiving the error below when running the following command against ExifTool version 3.10 on Mac.

Use of uninitialized value $json in numeric eq (==) at /usr/local/bin/exiftool line 3796.
exiftool -config [config file] -progress:%100b -m -ee3 -b -a -n -U -G --ext xml --ext xmp --ext aae --ext mie --ext txt -api RequestAll=3 -api LargeFileSupport -api QuickTimeUTC -@ [arg file] -csv [img dir] > [csv file]
This error only appears when using the -b option which I may not be fully understanding in this context. I am adapting another command to output CSV so I can examine some details before running against a large image set. The -b flag is not needed for this purpose so removing it was not a problem for me.

I still wanted to report the error in case it had other implications, or may help others.

greybeard

To simplify the problem:

exiftool -b -csv f1.jpg > a1.csv

not that a binary csv file seems reasonable

Phil Harvey

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