pdfjoin

PDF merging utility based on pdfjam. More information: <https://github.com/rrthomas/pdfjam-extras>.

Install

All systems
curl cmd.cat/pdfjoin.sh
Debian Debian
apt-get install texlive-extra-utils
Ubuntu
apt-get install texlive-extra-utils
Arch Arch Linux
pacman -S texlive-core
image/svg+xml Kali Linux
apt-get install texlive-extra-utils
Fedora
dnf install texlive-pdfjam-bin-6
Windows (WSL2)
sudo apt-get update sudo apt-get install texlive-extra-utils
Raspbian
apt-get install texlive-extra-utils

PDF merging utility based on pdfjam. More information: <https://github.com/rrthomas/pdfjam-extras>.

  • Merge two PDFs into one with the default suffix "joined":
    pdfjoin path/to/file1.pdf path/to/file2.pdf
  • Merge the first page of each given file together:
    pdfjoin path/to/file1.pdf path/to/file2.pdf ... 1 --outfile output_file
  • 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
  • Merge page subranges from two PDFs:
    pdfjoin {/path/to/file1.pdf 2- file2 last-3 --outfile output_file

© tl;dr; authors and contributors