pdfattach(1) General Commands Manual pdfattach(1)

# [NAME](#NAME)

pdfattach - Portable Document Format (PDF) document embedded file creator (version 3.03)

# [SYNOPSIS](#SYNOPSIS)

**pdfattach** \[options] *input-PDF-file file-to-attach output-PDF-file*

# [DESCRIPTION](#DESCRIPTION)

**Pdfattach** adds a new embedded file (attachment) to an existing Portable Document Format (PDF) file.

# [OPTIONS](#OPTIONS)

[**-replace**](#replace)

Replace embedded file with same name (if it exists)

[**-v**](#v)

Print copyright and version information.

[**-h**](#h)

Print usage information. (**-help** and **--help** are equivalent.)

# [EXIT CODES](#EXIT_CODES)

0

No error.

1

Error opening input PDF file.

2

Error opening file to attach.

3

Output file already exists.

3

There is already an attached file with that name.

5

Error saving the output file.

# [AUTHOR](#AUTHOR)

The pdfattach software and documentation are copyright 2019 The Poppler developers

# [SEE ALSO](#SEE_ALSO)

[**pdfdetach**(1)](/man/os/poppler/pdfdetach.1), [**pdfimages**(1)](/man/os/poppler/pdfimages.1), [**pdfinfo**(1)](/man/os/poppler/pdfinfo.1), [**pdftocairo**(1)](/man/os/poppler/pdftocairo.1), [**pdftohtml**(1)](/man/os/poppler/pdftohtml.1), [**pdftoppm**(1)](/man/os/poppler/pdftoppm.1), [**pdftops**(1)](/man/os/poppler/pdftops.1), [**pdftotext**(1)](/man/os/poppler/pdftotext.1) [**pdfseparate**(1)](/man/os/poppler/pdfseparate.1), [**pdfsig**(1)](/man/os/poppler/pdfsig.1), [**pdfunite**(1)](/man/os/poppler/pdfunite.1)

10 Febuary 2019

---

Document: pdfattach(1) from poppler 26.08.0-r2 (Chainguard OS)
Source: https://gitlab.freedesktop.org/poppler/poppler.git
