ExifTool Forum

General => Metadata => Topic started by: Juggernaut on October 22, 2018, 06:23:37 PM

Title: PDF metadata - how to delete tags?
Post by: Juggernaut on October 22, 2018, 06:23:37 PM
Hello everyone.  :)

Is there any way how user can delete (complete remove) the tags from PDF file?

Because -all= command does not delete, but hides them.

PS: if ExifTool cannot remove/delete tags, maybe someone knows good software, that can do these anonymizing things?

Thanks!
Title: Re: PDF metadata - how to delete tags?
Post by: StarGeek on October 22, 2018, 06:44:55 PM
I believe if you linearize the pdf with qpdf (http://qpdf.sourceforge.net/) (run qpdf --linearize) after you run exiftool -all= that will remove the hidden metadata.

For some reason I can't find the link to the post describing the procedure atm. :(
Title: Re: PDF metadata - how to delete tags?
Post by: Phil Harvey on October 22, 2018, 09:26:26 PM
This is mentioned in note number 2 in the PDF Tag Name documentation (https://exiftool.org/TagNames/PDF.html)

- Phil