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.

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

      LibreOffice Draw can do that but you have to make sure the font and margins are right or else the formatting gets messed up.