PDF tools for comparing PDFs visually (overlaying two PDFs to see changed areas) and using a perceptual hash (numerical value indicating visual difference between the two files).
Useful for command line review of PDFs and de-duplication. Configure git to use these tools for better PDF history / comparison in git.
These scripts require imagemagick and poppler. Both installed from homebrew.
Setup git to use a custom diff using: