2025-03-14 21:59:59 -06:00
|
|
|
# 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:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`pamexec {{command}} {{path/to/image.pam}} {{[-c|-check]}}`
|