1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 21:22:06 +02:00
tldr/pages/common/pamexec.md
Antti Savolainen 90bda1304a batch1
2025-03-28 05:51:39 +02:00

422 B

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}} {{[-c|-check]}}