Could not find how to do it with qpdf or pdftk or even a gui tool.

Edit: Solution pdftk A=oldpdf.pdf cat A output newpdf.pdf This removes all metadata and also the attachments.

  • rambos@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Im interested what people recommend. If you dont find any, what about just printing to another pdf file? Wouldnt that remove attachments?

    • antihero@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I found much easier solution, pdftk A=oldpdf.pdf cat A output newpdf.pdf. This removes all metadata and also the attachments.