1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 15:22:08 +02:00
tldr/pages/common/pamexec.md

13 lines
413 B
Markdown

# pamexec
> Execute a shell command on each image in a Netpbm file.
> See also: `pamfile`, `pampick`, `pamsplit`.
> More information: <https://netpbm.sourceforge.net/doc/pamexec.html>.
- Execute a shell command on each image in a Netpbm file:
`pamexec {{command}} {{path/to/image.pam}}`
- Stop processing if a command terminates with a nonzero exit status:
`pamexec {{command}} {{path/to/image.pam}} -check`