Skip to content

Instantly share code, notes, and snippets.

Avatar

Lockywolf lockywolf

View GitHub Profile
@lockywolf
lockywolf / README.md
Created Feb 17, 2019 — forked from hubgit/README.md
Remove metadata from a PDF file, using exiftool and qpdf. Note that embedded objects may still contain metadata.
View README.md

Anonymising PDFs

PDF metadata

Metadata in PDF files can be stored in at least two places:

  • the Info Dictionary, a limited set of key/value pairs
  • XMP packets, which contain RDF statements expressed as XML

PDF files