How to remove (not extract) all attachment from a pdf on linux with some open source software?
How to remove (not extract) all attachment from a pdf on linux with some open source software?
![](https://lemm.ee/pictrs/image/9768c4d6-7e5c-4651-9388-f2488b9500a9.webp?thumbnail=1024&format=webp)
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.
You're viewing a single thread.
View all comments
16
comments
You might try printing the PDF as a PDF.
1 0 ReplyThat worked but it removed bookmarks. I added solution to the post.
1 0 Reply
You've viewed 16 comments.
Scroll to top