mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 16:01:58 +00:00
Update cheatsheets
This commit is contained in:
18
tldr/pamexec
Normal file
18
tldr/pamexec
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user