TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Split Pdfs by Page or File Size

1 pointsby markthethomas6 months ago
Just a little utility project I put together; using Go, JS

1 comment

reify6 months ago
I use qpdf for this:<p>to keep only pages 1-9 and pages 26 to the last page of input.pdf and save them to output.pdf.<p>qpdf input.pdf --pages . 1-9,26-z -- output.pdf<p>keep the first page and pages 100-292<p>qpdf input.pdf --pages . 1-1,100-292 -- output.pdf<p>The page range is a set of numbers separated by commas, ranges of numbers separated dashes, or combinations of those.<p>The character &quot;z&quot; represents the last page.