pdf_remove_metadata

This script removes the metadata from the given PDF file.

You can use exiftool to display the metadata of a PDF file:

$ exiftool test.pdf
ExifTool Version Number         : 12.76
File Name                       : example.pdf
...
PDF Version                     : 1.4

Usage

$ scripts/pdf/pdf_remove_metadata.sh test.pdf
$ find dist -type f -name '*.pdf' -exec scripts/pdf/pdf_remove_metadata.sh {} \;

Prerequisites