antihero

joined 1 year ago
[–] [email protected] 2 points 1 year ago (5 children)

it's not left it's middle

[–] [email protected] 5 points 1 year ago

Can you give some resources on how to do so.

 
[–] [email protected] 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.

[–] [email protected] 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).

[–] [email protected] 1 points 1 year ago

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

[–] [email protected] 4 points 1 year ago

Sorry, but that is for image extraction.

[–] [email protected] 5 points 1 year ago (3 children)

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

 

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.