Skip to content

Instantly share code, notes, and snippets.

View abarto's full-sized avatar

Agustin Barto abarto

View GitHub Profile
@abarto
abarto / README.md
Created June 18, 2019 01:55 — forked from hubgit/README.md
Remove metadata from a PDF file, using exiftool and qpdf. Note that embedded objects may still contain metadata.

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