Options (1)
-o, --outfilebooleanMerge two (or more) PDFs
Example:
pdfjam {{path/to/file1.pdf path/to/file2.pdf ...}} {{[-o|--outfile]}} {{path/to/output_file.pdf}}Examples (6)
Merge two (or more) PDFs
pdfjam path/to/file1.pdf path/to/file2.pdf ... [-o|--outfile] path/to/output_file.pdfMerge the first page of each file together
pdfjam path/to/file1.pdf 1 path/to/file2.pdf 1 ... [-o|--outfile] path/to/output_file.pdfMerge subranges from two PDFs
pdfjam path/to/file1.pdf 3-5,1 path/to/file2.pdf 4-6 [-o|--outfile] path/to/output_file.pdfSign an A4 page (adjust delta to height for other formats) with a scanned signature by overlaying them
Arrange the pages from the input file into a fancy 2x2 grid
pdfjam path/to/file.pdf --nup 2x2 --suffix 4up --preamble '{{\usepackage{fancyhdr} \pagestyle{fancy}}}'Reverse the order of pages within each given file and concatenate them
pdfjam path/to/file1.pdf last-1 path/to/file2.pdf last-1 ... --suffix reversedmade by @shridhargupta | data from tldr-pages