pdfattach(1)

pdfattach1

Portable document format (pdf) document embedded file creator (version 3.03)

Usage

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

Overview

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

Options

-replace

Replace embedded file with same name (if it exists)

-v

Print copyright and version information.

-h

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

Exit status

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.

Releases

Unchanged in 4 releases since Debian 11 (Bullseye).

  1. 11–Arch

Author

The pdfattach software and documentation are copyright 2019 The Poppler developers

From poppler 26.10.0-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.