PDF Metadata Erasure
Make a text file called ‘pdfmark.txt’.
[ /Title ()
/Author ()
/Subject ()
/Creator ()
/ModDate ()
/Producer ()
/Keywords ()
/CreationDate ()
/DOCINFO pdfmark
Then run:
gs -o output.pdf -sDEVICE=pdfwrite "$FILE".pdf pdfmark.txt