[-] antihero@lemm.ee 7 points 2 years ago

it's not left it's middle

[-] antihero@lemm.ee 5 points 2 years ago

Can you give some resources on how to do so.

48
submitted 2 years ago by antihero@lemm.ee to c/linux@lemmy.ml
[-] antihero@lemm.ee 2 points 2 years ago

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

[-] antihero@lemm.ee 2 points 2 years ago

Yes but in my case the pdf file is big and I libreoffice draw hangs. Also i found another solution (added that to post).

[-] antihero@lemm.ee 1 points 2 years ago

That worked but it removed bookmarks. I added solution to the post.

[-] antihero@lemm.ee 4 points 2 years ago

Sorry, but that is for image extraction.

[-] antihero@lemm.ee 5 points 2 years ago

I am talking about removing them from pdf. For extracting them this works pdftk [pdf_file.pdf] unpack_files.

44
submitted 2 years ago* (last edited 2 years ago) by antihero@lemm.ee to c/linux@lemmy.ml

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.

antihero

joined 2 years ago