commands.sh

pamfile

all

Describe Netpbm (PAM or PNM) files.

More info →

Options (2)

-aboolean

Describe every image in each input file (as opposed to only the first image in each file) in a machine-readable format

Example: pamfile {{[-a|-allimages]}} -machine {{path/to/file}}
boolean

Display a count on how many images the input files contain

Example: pamfile {{[-cou|-count]}} {{path/to/file}}

Examples (3)

Describe the specified Netpbm files

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

Describe every image in each input file (as opposed to only the first image in each file) in a machine-readable format

pamfile [-a|-allimages] -machine path/to/file

Display a count on how many images the input files contain

pamfile [-cou|-count] path/to/file
made by @shridhargupta | data from tldr-pages