HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pamexec — Execute a shell command on each image in a Netpbm file. See also: `pamfile`, `pampick`, `pamsplit`.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
shellcommandpamexecexecutecliimageeach

Problem

How to use the pamexec command: 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>.

Solution

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]}}

Code Snippets

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]}}

Context

tldr-pages: common/pamexec

Revisions (0)

No revisions yet.