Removing pages from a PDF with pdftk
Specify the ranges you want to keep:
pdftk A=in.pdf cat A1-2 A5-10 16-21 23-end output out.pdf
Will remove pages:
- 3-5
- 11-15
- 22
You may also like:
- Rotating all the odd pages in a PDF document
- Microsoft Surface, Debian, and two 4k monitor frustrations
- Fixing 'tee: command not found' on Debian 11 Bullseye
- Installing Debian 11 on a Microsoft Surface Go: secure boot, mokutil, Wi-Fi, and libinih1
- Setting up a Ledger Nano X with Debian 11
- Bypassing captive portal detection on Android 10
- Running the greenbone OpenVAS vulnerability scanner on a Raspberry Pi 4
- Installing SIP client Blink on Debian 11
- LibreOffice Writer, deleting comments, and tracked changes
- Samsung Galaxy Tab 9.7 and postmarketOS: building a custom image
- Samsung Galaxy Tab 9.7 and postmarketOS: initial impressions
- A year with password manager bitwarden
- Transfer your computers clipboard to a camera-enable mobile device via QR code
- A quick and dirty approach to redacting PDFs on Debian 11 Bullseye
- Implementing BusKill: shutting down a Debian 11 Bullseye machine when a specific USB device is removed