LinuxCommandLibrary

pdfjoin

joins PDF files

TLDR

Join PDFs

$ pdfjoin [file1.pdf] [file2.pdf]
copy
Join with output name
$ pdfjoin -o [output.pdf] [file1.pdf] [file2.pdf]
copy
Join specific pages
$ pdfjoin [file.pdf] [1-5] [file2.pdf] [2,4,6]
copy
Join all PDFs in directory
$ pdfjoin [*.pdf]
copy
Rotated pages
$ pdfjoin --rotateoversize false [file1.pdf] [file2.pdf]
copy

SYNOPSIS

pdfjoin [-o output] [options] file1 [pages] file2 [pages] ...

DESCRIPTION

pdfjoin joins PDF files. It combines multiple PDFs into one.
Part of pdfjam utilities. Uses LaTeX pdfpages package.
Page selection supported. Specify ranges or individual pages.
Preserves PDF quality. No recompression.

PARAMETERS

-o FILE

Output filename.
--rotateoversize BOOL
Rotate oversized pages.
--paper SIZE
Paper size (a4, letter).
--landscape
Landscape orientation.
--tidy
Remove temp files.
--
End of options.

CAVEATS

Requires LaTeX installation. Part of pdfjam package. Large files may be slow.

HISTORY

pdfjoin is part of pdfjam, a collection of shell scripts for PDF manipulation using LaTeX.

SEE ALSO

pdfjam(1), pdfunite(1), gs(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community