{
    "content": [
        {
            "type": "text",
            "text": "# pdfunite(1) (man)\n\n## TLDR\n\n> PDF merging utility.\n\n- Merge 2 PDFs into a single PDF:\n  `pdfunite {{path/to/fileA.pdf}} {{path/to/fileB.pdf}} {{path/to/merged_output.pdf}}`\n- Merge a directory of PDFs into a single PDF:\n  `pdfunite {{path/to/directory/*.pdf}} {{path/to/merged_output.pdf}}`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** pdfunite - Portable Document Format (PDF) page merger\n\n**Synopsis:** pdfunite [options] PDF-sourcefile1..PDF-sourcefilen PDF-destfile\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -v | — | — |  |\n| -h | --help | — |  |\n\n## Examples\n\n- `pdfunite sample1.pdf sample2.pdf sample.pdf`\n- `merges all pages from sample1.pdf and sample2.pdf (in that order) and creates sample.pdf`\n\n## See Also\n\n- pdfdetach(1)\n- pdffonts(1)\n- pdfimages(1)\n- pdfinfo(1)\n- pdftocairo(1)\n- pdftohtml(1)\n- pdftoppm(1)\n- pdftops(1)\n- pdftotext(1)\n- pdfseparate(1)\n- pdfsig(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (5 lines)\n- **OPTIONS** (1 lines) — 2 subsections\n  - -v (1 lines)\n  - -h -help --help (1 lines)\n- **EXAMPLE** (4 lines)\n- **AUTHOR** (3 lines)\n- **SEE ALSO** (6 lines)\n\n## Full Content\n\n### NAME\n\npdfunite - Portable Document Format (PDF) page merger\n\n### SYNOPSIS\n\npdfunite [options] PDF-sourcefile1..PDF-sourcefilen PDF-destfile\n\n### DESCRIPTION\n\npdfunite  merges several PDF (Portable Document Format) files in order of their occurrence on\ncommand line to one PDF result file.\n\nNeither of the PDF-sourcefile1 to PDF-sourcefilen should be encrypted.\n\n### OPTIONS\n\n#### -v\n\n#### -h -help --help\n\n### EXAMPLE\n\npdfunite sample1.pdf sample2.pdf sample.pdf\n\nmerges all pages from sample1.pdf and sample2.pdf (in that order) and creates sample.pdf\n\n### AUTHOR\n\nThe pdfunite software and documentation are copyright 1996-2004 Glyph & Cog,  LLC  and  copy‐\nright 2005-2011 The Poppler Developers - http://poppler.freedesktop.org\n\n### SEE ALSO\n\npdfdetach(1),    pdffonts(1),    pdfimages(1),   pdfinfo(1),   pdftocairo(1),   pdftohtml(1),\npdftoppm(1), pdftops(1), pdftotext(1) pdfseparate(1), pdfsig(1)\n\n\n\n15 September 2011                              pdfunite(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "pdfunite",
        "section": "1",
        "mode": "man",
        "summary": "pdfunite - Portable Document Format (PDF) page merger",
        "synopsis": "pdfunite [options] PDF-sourcefile1..PDF-sourcefilen PDF-destfile",
        "tldr_summary": "PDF merging utility.",
        "tldr_examples": [
            {
                "description": "Merge 2 PDFs into a single PDF",
                "command": "pdfunite {{path/to/fileA.pdf}} {{path/to/fileB.pdf}} {{path/to/merged_output.pdf}}"
            },
            {
                "description": "Merge a directory of PDFs into a single PDF",
                "command": "pdfunite {{path/to/directory/*.pdf}} {{path/to/merged_output.pdf}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": ""
            }
        ],
        "examples": [
            "pdfunite sample1.pdf sample2.pdf sample.pdf",
            "merges all pages from sample1.pdf and sample2.pdf (in that order) and creates sample.pdf"
        ],
        "see_also": [
            {
                "name": "pdfdetach",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfdetach/1/json"
            },
            {
                "name": "pdffonts",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdffonts/1/json"
            },
            {
                "name": "pdfimages",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfimages/1/json"
            },
            {
                "name": "pdfinfo",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfinfo/1/json"
            },
            {
                "name": "pdftocairo",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdftocairo/1/json"
            },
            {
                "name": "pdftohtml",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdftohtml/1/json"
            },
            {
                "name": "pdftoppm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdftoppm/1/json"
            },
            {
                "name": "pdftops",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdftops/1/json"
            },
            {
                "name": "pdftotext",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdftotext/1/json"
            },
            {
                "name": "pdfseparate",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfseparate/1/json"
            },
            {
                "name": "pdfsig",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfsig/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-v",
                        "lines": 1,
                        "flag": "-v"
                    },
                    {
                        "name": "-h -help --help",
                        "lines": 1,
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            {
                "name": "EXAMPLE",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}