LinuxCommandLibrary

pamexec

Execute a shell command on each image in a Netpbm file.

TLDR

Execute a shell command on each image in a Netpbm file

$ pamexec [command] [path/to/image.pam]
copy


Stop processing if a command terminates with a nonzero exit status
$ pamexec [command] [path/to/image.pam] -check
copy

Copied to clipboard