pdftk is a swiss army knife for PDF files. It's a command line tool
to reorder pages, merge PDF files, and add encryption.