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.

  • davidgro@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 months ago

    Just a guess, but can LibreOffice open, edit, then save as (or at least print to) PDF?

    • qaz@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months 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.