pdfjoin

join together pages from multiple PDF files

TLDR

Merge two PDFs into one with the default suffix "joined"

$ pdfjoin [path/to/file1.pdf] [path/to/file2.pdf]
copy


Merge the first page of each given file together
$ pdfjoin [path/to/file1.pdf path/to/file2.pdf ...] [1] --outfile [output_file]
copy


Save pages 3 to 5 followed by page 1 to a new PDF with custom suffix
$ pdfjoin [path/to/file.pdf] [3-5,1] --suffix [rearranged]
copy


Merge page subranges from two PDFs
$ pdfjoin {/path/to/file1.pdf] [2-] [file2] [last-3] --outfile [output_file]
copy

Copied to clipboard