-list switch has issues with certain family 1 groups

Started by dlgkjfgkwrj, July 20, 2022, 12:29:20 PM

Previous topic - Next topic

dlgkjfgkwrj

I'm using the command-line ExifTool version 12.42 on Windows 10.

Run "exiftool -listg1" and one of the tags displayed is "ExifIFD"--so we know this is a valid group. Now run "exiftool -list -ExifIFD:all".

Instead of the expected listing of tags, ExifTool just shows the man page.

If the group incorrect, for example, "exiftool -list -foobar:all" I would get an output "[empty list]".

I seem to get this issue with all (most?) tags with IFD in the name, for example, the same issue happens with "exiftool -list -CameraIFD:all"

Phil Harvey

It does print this warning before displaying the help:

Can't list tags for specific IFD

But I can see how you could miss that.  I'll add a patch to suppress the help in this case.

- Phil
...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 ($).