Ultra-fast bash script to remove blank pages from a PDF, using open source cpdf.
Simply splits all pages from a PDF into a temp directory, allows user to choose the size of the largest blank page, gets a list of all non-blank pages, and creates a new PDF with only those pages.
Requires cpdf to be installed.
Written for OS X but core code should work on any platform that has a bash shell. Simple modification required.
Usage:
rmpdfblanks.sh <"PDF filename.pdf" in double quotes>
Features
- very fast
- uses open source cpdf
Follow Remove-PDF-Blank-Pages
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Remove-PDF-Blank-Pages!