mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
15 lines
399 B
Plaintext
15 lines
399 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pamvalidate
|
|
|
|
> Validate PAM, PGM, PBM, and PPM files.
|
|
> See also: `pamfile`, `pamfix`.
|
|
> More information: <https://netpbm.sourceforge.net/doc/pamvalidate.html>.
|
|
|
|
- Copy a Netpbm file from `stdin` to `stdout` if and only if it valid; fail otherwise:
|
|
|
|
`{{command}} | pamvalidate > {{path/to/output.ext}}`
|