pdfcpu is a PDF processor for the command line. It validates and optimizes PDF files, merges and splits them, rotates, resizes and rearranges pages, adds stamps and watermarks, encrypts and decrypts, fills forms, extracts images, fonts and content, manages attachments, bookmarks and keywords, and validates digital signatures.
Examples
pdfcpu validate report.pdf
pdfcpu optimize report.pdf smaller.pdf
pdfcpu merge all.pdf part1.pdf part2.pdf
mkdir pages && pdfcpu split book.pdf pages
pdfcpu encrypt --upw user --opw owner report.pdf locked.pdf
pdfcpu watermark add "DRAFT" "diag:1, op:.25" report.pdf draft.pdf
File access
pdfcpu can process files in your home directory. To also use USB drives and other removable media (/media, /mnt), run:
sudo snap connect pdfcpu:removable-media
The configuration, installed fonts and trusted certificates are stored in ~/snap/pdfcpu/current/.config/pdfcpu.
You are about to open
Do you wish to proceed?
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
On a Raspberry Pi running the latest version of Raspbian snap can be installed directly from the command line:
sudo apt update
sudo apt install snapd
You will also need to reboot your device:
sudo reboot
After this, install the snapd snap in order to get the latest snapd:
sudo snap install snapd
To install pdfcpu, simply use the following command:
sudo snap install pdfcpu
Browse and find snaps from the convenience of your desktop using the snap store snap.
Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.