Skip to content

Small bash script to visually compare two PDF files.

Notifications You must be signed in to change notification settings

e-dervieux/cmppdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

cmppdf

This is a small bash script to visually compare two PDF files. It can be used with

cmppdf path/to/file1.pdf path/to/file2.pdf

Dependencies

This script requires:

  • basic PDF tools such as pdftotext and pdftoppm
    • apt-get install poppler-utils on Linux or
    • brew install poppler on MacOS
  • pdftk
    • apt-get install pdftk on Linux or
    • brew install pdftk-java on MacOS
  • ImageMagick
    • apt-get install imagemagick on Linux or
    • brew install imagemagick on MacOS)
  • Core GNU utils such as b2sum, which are included in most Linux distribution but may require to be installed on MacOS using brew install coreutils

Authorship and License

This software is distributed under the CC BY-SA 4.0 license (Attribution-ShareAlike 4.0 International). The graphical compare code was originally posted by linguisticturn on StackOverflow (License CC BY-SA 4.0) and later improved by Jim Avera in the same thread, who posted it on his personal website. I (Emmanuel Dervieux) only posted it on GitHub for the sake of continuation, bug tracking, and possible further improvements if need be.

About

Small bash script to visually compare two PDF files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages