pamfile

Describe Netpbm (PAM or PNM) files. More information: https://netpbm.sourceforge.net/doc/pamfile.html.

pamfile path/to/file1 path/to/file2 ...

pamfile -allimages -machine path/to/file

pamfile -count path/to/file