this post was submitted on 27 Jul 2023
42 points (95.7% liked)

Linux

48353 readers
541 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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 are viewing a single comment's thread
view the rest of the comments
[–] worfamerryman@beehaw.org 1 points 1 year ago

Oh in that case. Let me look up an open source tool I’ve used for PDFs before. It might be able to do it.

It’s called pdfsam.

I’m not sure if it can do what you are asking, but I think it will do the trick.

You might be able to use the convert function of ffmpeg to extract the pages as png and then recreate a new pdf from the pngs that were extracted, but this may not work for your specific file.