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.
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.
Just a guess, but can LibreOffice open, edit, then save as (or at least print to) PDF?
LibreOffice Draw can do that but you have to make sure the font and margins are right or else the formatting gets messed up.