Mastodon Feed: Post

Mastodon Feed

cstanhope@social.coop ("Your friendly 'net denizen") wrote:

Pdftk is very useful and handy, but every time I use it, I feel like something is wrong. Here, after several wrong incantations, I get it to rotate the even pages of a document 180 degrees.

pdftk Scan_20230321.pdf rotate 1-6evensouth output test.pdf

And if you put a space between 6 and "evensouth", it does something slightly different.

Sometimes I want command line APIs replaced with some sort of programming API maybe combined with a REPL/notebook interface.