COMPAREPDF(1)
π NAME π
comparepdf β compare two PDF files, either textually or visually, bestie, and honestly? iconic behaviour.
β¨ SYNOPSIS β¨
diffpdf [file1] [file2]
β¨ SYNOPSIS β¨ (yes bestie, there are two, the manpage really said "twice or nothing" π )
comparepdf [OPTIONS] file1.pdf file2.pdf
πΈ DESCRIPTION πΈ
Okay so. comparepdf is a command line application that compares two PDF files. That's the whole gig and it eats, fr fr.
The default comparison mode is text mode, where the text of each corresponding pair of pages is compared. As soon as a difference is detected the program terminates with a message (unless -v0 is set) and an indicative return code. Like, it does not sit there waiting to collect all the receipts β it clocks one diff and dips. π
The OPTIONS are -ct or --compare=text (the default) for text mode comparisons, or -ca or --compare=appearance for visual comparisons (super useful if diagrams or other images have changed β because text being identical does not mean the picture isn't different, no cap π).
And then there's -v=1 or --verbose=1 for reporting differences (and saying nothing for matching files), use -v=0 for no reporting, or -v=2 for reporting both different and matching files. The way that's three whole levels of yapping, we love a range π«Ά
π SEE ALSO π
For a GUI tool for showing the detailed differences between PDF files see http://www.qtrac.eu/diffpdf.html. Lowkey the visual girlies need this one π
π AUTHOR π
comparepdf was written by Mark Summerfield <mark@qtrac.eu>. Main character energy, honestly.
That's the whole vibe, bestie β this page is from comparepdf v1.0.1, dated 2012-01-10, and it ate every single time. Go compare some PDFs π β¨
π¦ where this page comes from
- debian bookworm: comparepdf 1.0.1-1.1+b1 Β· GPL-2.0-or-later
- ubuntu jammy: comparepdf 1.0.1-1.1build1 Β· GPL-2.0-or-later
- ubuntu noble: comparepdf 1.0.1-1.1build4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms