{
    "content": [
        {
            "type": "text",
            "text": "# pdfunite (man)\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\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## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (2 subsections)\n- **EXAMPLE**\n- **AUTHOR**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pdfunite",
        "section": "",
        "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": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pdfunite - Portable Document Format (PDF) page merger\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "pdfunite [options] PDF-sourcefile1..PDF-sourcefilen PDF-destfile\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "pdfunite  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",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-v",
                        "content": "",
                        "flag": "-v"
                    },
                    {
                        "name": "-h -help --help",
                        "content": "",
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            "EXAMPLE": {
                "content": "pdfunite sample1.pdf sample2.pdf sample.pdf\n\nmerges all pages from sample1.pdf and sample2.pdf (in that order) and creates sample.pdf\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "The pdfunite software and documentation are copyright 1996-2004 Glyph & Cog,  LLC  and  copy‐\nright 2005-2011 The Poppler Developers - http://poppler.freedesktop.org\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "pdfdetach(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)",
                "subsections": []
            }
        }
    }
}