RECENT POSTS
- Introduction to FreeBSD Security Best Practices
- Working with Package Management in FreeBSD
- Understanding FreeBSD Security Advisories and Updates
- Troubleshooting Common System Administration Issues in FreeBSD
- Tips for Hardening FreeBSD to achieve System Protection
- Setting Up DHCP Server in FreeBSD
- Secure User and Group Management in FreeBSD Systems
- Secure Remote Access with SSH in FreeBSD
- Optimizing System Performance in FreeBSD
- Network Packet Capture with tcpdump in FreeBSD
- All posts ...
Do you have GDPR compliance issues ?
Check out Legiscope a GDPR compliance software, that will save you weeks of work, automating your documentation, the training of your teams and all processes you need to keep your organisation compliant with privacy regulations
Py-stapler
Jul 20, 2023
Manipulate PDF documents from the command line
Stapler is a pure Python alternative to PDFtk, a tool for manipulating PDF documents from the command line. Like pdftk, stapler is a command-line tool.
With the select command, you can cherry-pick pages from pdfs and concatenate them into a new pdf file.
The delete command works almost exactly the same as select, but inverse. It uses the pages and ranges which you didn’t specify.
The split command splits the specified pdf files into their single pages and writes each page into it’s own pdf file.
With the zip command, you can cherry-pick pages from pdfs like select. The pages from each pdf are merged together in an interleaving manner. This can be used to collate a pdf with odd pages and a pdf with even pages into a single file.
The info command shows information on the metadata stored inside a PDF file.
WWW https//github.com/hellerbarde/stapler
- Older
- Newer
Checkout these related ports:
- Yatex - Yet Another LaTeX mode and html mode on Emacs
- Xtexsh - Tcl/Tk-based simple TeX interface
- Xreader - Multi-format document reader
- Xpp - X11-based printer manager for CUPS
- Xpdfopen - Command line utility for PDF viewers
- Xmbibtex - Reference manager based on the BibTeX file format
- Xfce4-print - Print system support for the Xfce Desktop
- Utopia - Adobe Utopia typeface for Groff
- Typetools - Tools for manipulating fonts
- Txtbdf2ps - Translator TXT + BDF to PS
- Ttfquery - FontTools-based package for querying system fonts
- Ttfautohint - Automatic font hinting library
- Ttf2pt1 - True Type Font to Postscript Type 1 Converter
- Trueprint - Print program listings on postscript printer
- Transfig - Tools to convert Xfig .fig files