Some of you aren’t going to like this next one. Here’s
cpdf, from the demonstration version of the Coherent PDF tools.
I had to hesitate myself when I saw this wasn’t the “normal” Linux style of software — available as source code, GPL licensed, etc., etc.
But I’m willing to give it the benefit of the doubt. And really, I think it does a pretty good job, for what I’ve seen.
Command-line PDF tools, aside from conversion utilities like archmage, seem scant. I’ve only used
cpdf a few times, but it seems to have most of the PDF editing tools covered.
Among its tools, you can split, merge, rotate, encrypt, scale, compress, watermark, annotate, list fonts … and reverse most of those actions, plus more. It seems quite intuitive, with an in- and out-file flag system, page ranges, natural language cues for “even” or “odd” pages, and so forth.
Short of viewing a PDF file, this might be the answer to batch adjusting large groups of PDFs, or managing complex processing on one or two at a time.
As far as its license and redistribution … well, your conscience can be your guide. 😐