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?
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.
All Comments
11 comments
pdfimages
is what you want, I believe. It's in thepoppler-utils
package in Debian.1 2 ReplySorry, but that is for image extraction.
4 0 Reply
11 comments
Scroll to top