[-] antihero@lemm.ee 3 points 1 year ago

it's not left it's middle

[-] antihero@lemm.ee 5 points 1 year ago

Can you give some resources on how to do so.

46
submitted 1 year ago by antihero@lemm.ee to c/linux@lemmy.ml
[-] antihero@lemm.ee 2 points 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.

[-] antihero@lemm.ee 2 points 1 year 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 1 year ago

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

[-] antihero@lemm.ee 4 points 1 year ago

Sorry, but that is for image extraction.

[-] antihero@lemm.ee 5 points 1 year ago

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

40
submitted 1 year ago* (last edited 1 year 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 1 year ago