How to compare two pdf files through command line

Rpant picture Rpant · Jun 12, 2012 · Viewed 17.5k times · Source

Does anyone know how to compare two pdf files using adobe acrobat through command line. I want to do this via command line because we want to compare hundreds of file every day through some automated windows tasks.

Any kind of help will be greatly. I do not want to limit myself to acrobat to compare , if there is something else available.

Answer

gamma picture gamma · Aug 2, 2012

How about i-net PDFC - it does a full content comparison - text, images, lines, header/footer-detection and so on. You can use it either on command line or with a GUI (2.0, currently in public beta-phase).

The command-line tool already has the option to compare folders with PDFs against each other (or the extreme way: use the API ;))

Disclaimer: Yep, I work for the company who made this - so feedback highly appreciated.