{
    "content": [
        {
            "type": "text",
            "text": "# pdfseparate (man)\n\n## NAME\n\npdfseparate - Portable Document Format (PDF) page extractor\n\n## SYNOPSIS\n\npdfseparate [options] PDF-file PDF-page-pattern\n\n## DESCRIPTION\n\npdfseparate extract single pages from a Portable Document Format (PDF).\n\n## TLDR\n\n> Portable Document Format (PDF) file page extractor.\n\n- Extract pages from PDF file and make a separate PDF file for each page:\n  `pdfseparate {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}`\n- Specify the first/start page for extraction:\n  `pdfseparate -f {{3}} {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}`\n- Specify the last page for extraction:\n  `pdfseparate -l {{10}} {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (4 subsections)\n- **EXAMPLE**\n- **AUTHOR**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pdfseparate",
        "section": "",
        "mode": "man",
        "summary": "pdfseparate - Portable Document Format (PDF) page extractor",
        "synopsis": "pdfseparate [options] PDF-file PDF-page-pattern",
        "tldr_summary": "Portable Document Format (PDF) file page extractor.",
        "tldr_examples": [
            {
                "description": "Extract pages from PDF file and make a separate PDF file for each page",
                "command": "pdfseparate {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}"
            },
            {
                "description": "Specify the first/start page for extraction",
                "command": "pdfseparate -f {{3}} {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}"
            },
            {
                "description": "Specify the last page for extraction",
                "command": "pdfseparate -l {{10}} {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-f",
                "long": null,
                "arg": null,
                "description": "Specifies the first page to extract. If -f is omitted, extraction starts with page 1."
            },
            {
                "flag": "-l",
                "long": null,
                "arg": null,
                "description": "Specifies the last page to extract. If -l is omitted, extraction ends with the last page."
            },
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": ""
            }
        ],
        "examples": [
            "pdfseparate sample.pdf sample-%d.pdf",
            "extracts all pages from sample.pdf, if i.e. sample.pdf has 3 pages, it produces",
            "sample-1.pdf, sample-2.pdf, sample-3.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": "pdfsig",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfsig/1/json"
            },
            {
                "name": "pdfunite",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfunite/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-f",
                        "lines": 2,
                        "flag": "-f"
                    },
                    {
                        "name": "-l",
                        "lines": 3,
                        "flag": "-l"
                    },
                    {
                        "name": "-v",
                        "lines": 1,
                        "flag": "-v"
                    },
                    {
                        "name": "-h -help --help",
                        "lines": 1,
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            {
                "name": "EXAMPLE",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pdfseparate - Portable Document Format (PDF) page extractor\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "pdfseparate [options] PDF-file PDF-page-pattern\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "pdfseparate extract single pages from a Portable Document Format (PDF).\n\npdfseparate  reads the PDF file PDF-file, extracts one or more pages, and writes one PDF file\nfor each page to PDF-page-pattern.\n\nPDF-page-pattern should contain %d (or any variant respecting printf format), since %d is re‐\nplaced by the page number.\n\nThe PDF-file should not be encrypted.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-f",
                        "content": "Specifies the first page to extract. If -f is omitted, extraction starts with page 1.\n",
                        "flag": "-f"
                    },
                    {
                        "name": "-l",
                        "content": "Specifies  the  last  page to extract. If -l is omitted, extraction ends with the last\npage.\n",
                        "flag": "-l"
                    },
                    {
                        "name": "-v",
                        "content": "",
                        "flag": "-v"
                    },
                    {
                        "name": "-h -help --help",
                        "content": "",
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            "EXAMPLE": {
                "content": "pdfseparate sample.pdf sample-%d.pdf\n\nextracts all pages from sample.pdf, if i.e. sample.pdf has 3 pages, it produces\n\nsample-1.pdf, sample-2.pdf, sample-3.pdf\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "The pdfseparate 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) pdfsig(1), pdfunite(1)\n\n\n\n15 September 2011                           pdfseparate(1)",
                "subsections": []
            }
        }
    }
}