Skip to content

Instantly share code, notes, and snippets.

@LeoMcA
Created April 14, 2019 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LeoMcA/809a78fa48eb8f675b53eba0a1adad44 to your computer and use it in GitHub Desktop.
Save LeoMcA/809a78fa48eb8f675b53eba0a1adad44 to your computer and use it in GitHub Desktop.
Collate two pdfs into one, with the second one reversed
#!/bin/sh
A= B= ; qpdf --empty --collate --pages $A $B z-1 -- out.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment