mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
594 B
Plaintext
22 lines
594 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# diff-pdf
|
|
|
|
> Compare two PDFs.
|
|
> More information: <https://github.com/vslavik/diff-pdf>.
|
|
|
|
- Compare PDFs, indicating changes using return codes (`0` = no difference, `1` = PDFs differ):
|
|
|
|
`diff-pdf {{path/to/a.pdf}} {{path/to/b.pdf}}`
|
|
|
|
- Compare PDFs, outputting a PDF with visually highlighted differences:
|
|
|
|
`diff-pdf --output-diff={{path/to/diff.pdf}} {{path/to/a.pdf}} {{path/to/b.pdf}}`
|
|
|
|
- Compare PDFs, viewing differences in a simple GUI:
|
|
|
|
`diff-pdf --view {{path/to/a.pdf}} {{path/to/b.pdf}}`
|