← 返回命令列表

Linux command

pamexec 命令

网络

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Apply command to each image in stream

pamexec "[pnmflip -lr]" [input.pam] > [output.pam]

说明

pamexec runs a specified shell command on each image in a multi-image PAM stream. The command receives each image on stdin and outputs to stdout. Part of Netpbm toolkit.

FAQ

What is the pamexec command used for?

pamexec runs a specified shell command on each image in a multi-image PAM stream. The command receives each image on stdin and outputs to stdout. Part of Netpbm toolkit.

How do I run a basic pamexec example?

Run `pamexec "[pnmflip -lr]" [input.pam] > [output.pam]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.