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

Project Samples

Project Activity

See All Activity >

Follow Remove-PDF-Blank-Pages

Remove-PDF-Blank-Pages Web Site

Other Useful Business Software
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Remove-PDF-Blank-Pages!

Additional Project Details

Operating Systems

Mac

Registered

2017-12-18