When using exiftool -all:all= file.pdf this message appears:

ExifTool PDF edits are reversible. Deleted tags may be recovered!

Can tag recovery be prevented when ExifTool is used? Can it just wipe/overwrite them without saving previous info?

PDF is an example. I know about MAT2 but I don't want to rebuild and rasterize files, as MAT2 does.


The author of exiftool recently (August 2019) looked into zeroing out the data and has decided that against it.

  1. It is harder than I had hoped to simply zero out the existing metadata.

  2. The solution wouldn't be complete because there could already be unused objects containing old metadata in the original PDF, and ExifTool wouldn't be able to zero out these.

  3. It has been advertised that ExifTool PDF edits are reversible, and some users may be relying on this feature.

See this thread on the exiftool forums.

The use of qpdf or similar programs to re-linearize after using exiftool is still how exiftool's author suggests to fully remove all metadata.

  • What does linearization do? Sep 14 '19 at 17:26
  • Linearizing a pdf reorganizes the data in a pdf so it is faster to read through the web. It basically makes it more steamable, allowing the web browser to show the first page right away before the whole PDF is downloaded. See the last paragraph under the PDF->File Structure wikipedia page, just before "Imaging model".
    – StarGeek
    Sep 14 '19 at 17:32
  • It seems that it's a reasonably easy and fast method, which doesn't increase the filesize a lot. Sep 17 '19 at 13:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.