# pdfunite(1) - man - phpman

> **TLDR:** PDF merging utility.
>
- Merge 2 PDFs into a single PDF:
  `pdfunite {{path/to/fileA.pdf}} {{path/to/fileB.pdf}} {{path/to/merged_output.pdf}}`
- Merge a directory of PDFs into a single PDF:
  `pdfunite {{path/to/directory/*.pdf}} {{path/to/merged_output.pdf}}`

*Source: tldr-pages*

---

[pdfunite(1)](https://www.chedong.com/phpMan.php/man/pdfunite/1/markdown)                            General Commands Manual                           [pdfunite(1)](https://www.chedong.com/phpMan.php/man/pdfunite/1/markdown)



## NAME
       pdfunite - Portable Document Format (PDF) page merger

## SYNOPSIS
       **pdfunite** [options] _PDF-sourcefile1..PDF-sourcefilen_ _PDF-destfile_

## DESCRIPTION
       **pdfunite**  merges several PDF (Portable Document Format) files in order of their occurrence on
       command line to one PDF result file.

       Neither of the PDF-sourcefile1 to PDF-sourcefilen should be encrypted.

## OPTIONS
### -v

### -h -help --help

## EXAMPLE
       pdfunite sample1.pdf sample2.pdf sample.pdf

       merges all pages from sample1.pdf and sample2.pdf (in that order) and creates sample.pdf

## AUTHOR
       The pdfunite software and documentation are copyright 1996-2004 Glyph & Cog,  LLC  and  copy‐
       right 2005-2011 The Poppler Developers - <http://poppler.freedesktop.org>

## SEE ALSO
       [**pdfdetach**(1)](https://www.chedong.com/phpMan.php/man/pdfdetach/1/markdown),    [**pdffonts**(1)](https://www.chedong.com/phpMan.php/man/pdffonts/1/markdown),    [**pdfimages**(1)](https://www.chedong.com/phpMan.php/man/pdfimages/1/markdown),   [**pdfinfo**(1)](https://www.chedong.com/phpMan.php/man/pdfinfo/1/markdown),   [**pdftocairo**(1)](https://www.chedong.com/phpMan.php/man/pdftocairo/1/markdown),   [**pdftohtml**(1)](https://www.chedong.com/phpMan.php/man/pdftohtml/1/markdown),
       [**pdftoppm**(1)](https://www.chedong.com/phpMan.php/man/pdftoppm/1/markdown), [**pdftops**(1)](https://www.chedong.com/phpMan.php/man/pdftops/1/markdown), [**pdftotext**(1)](https://www.chedong.com/phpMan.php/man/pdftotext/1/markdown) [**pdfseparate**(1)](https://www.chedong.com/phpMan.php/man/pdfseparate/1/markdown), [**pdfsig**(1)](https://www.chedong.com/phpMan.php/man/pdfsig/1/markdown)



                                          15 September 2011                              [pdfunite(1)](https://www.chedong.com/phpMan.php/man/pdfunite/1/markdown)
