snippetbashTip
pamfile — Describe Netpbm (PAM or PNM) files. More information: <https://netpbm.sourceforge.net/doc/pamfile.ht
Viewed 0 times
commandpamfilespamfileclinetpbmdescribepnm
Problem
How to use the
pamfile command: Describe Netpbm (PAM or PNM) files. More information: <https://netpbm.sourceforge.net/doc/pamfile.html>.Solution
pamfile — Describe Netpbm (PAM or PNM) files. More information: <https://netpbm.sourceforge.net/doc/pamfile.html>.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}}Code Snippets
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}}Context
tldr-pages: common/pamfile
Revisions (0)
No revisions yet.