Split PDF into Multiple Page Ranges with Multiple OutputsHow to Edit PDFs?Merge multiple small PDFs on A4 size formathow to divide pdf into shall chunks (many pieces per page)?Merging multiple images into one document and add any caption/label to themIs there any tool to convert pdf to ppt in Linux/ Ubuntu offline?Splitting large pdf based on page range?Splitting all files in a folder with pdftkCreate a PDF with specific page ranges of multiple PDF files?How can I extract a page range from a PDF file AND retain the PDF tagging in the new file

Is using Observer pattern a good idea while building a Chess Game?

What should be done when the theory behind a PhD thesis turns out to be wrong?

I bought a pair of tefillin -- help me understand the accompanying certificate?

Is it OK for a Buddhist teacher to charge their students an hourly rate for their time?

Breaking down meaning of 几句话

Is there any difference between 旅行者 and 旅人?

How are cuneiform glyphs numbered?

Pros and cons of playing correspondence chess

Ball hits curve of same curvature

Is there a material or method to allow "swimmable" coins?

Can a Sorcerer use the Silence spell and the Subtle Spell Metamagic to silently cast the Knock spell?

Why did they design new connectors for USB?

Who owns copyright on works found in a storage unit/attic?

Are lances and nets and versatile weapons considered one-handed weapons?

Did "2001: A Space Odyssey" make any reference to the names of companies, or show any evidence of the existence of advertisements?

Build a matrix from the coordinates of its elements and complete it with zeros

Using Fermat's Little Theorem to Show Divisibility

Round up my number

What type of glass fuse is this and what does the spring do?

Is there a BIOS setting that controls cpu load sharing?

Why doesn't the road lose its thickness to the tyre?

Feeling of forcing oneself to do something

how to remove some small rocks at the bottom of a 4' vertical water pipe 2 1/2" diameter?

Is it harder to enter an atmosphere perpendicular or at an angle



Split PDF into Multiple Page Ranges with Multiple Outputs


How to Edit PDFs?Merge multiple small PDFs on A4 size formathow to divide pdf into shall chunks (many pieces per page)?Merging multiple images into one document and add any caption/label to themIs there any tool to convert pdf to ppt in Linux/ Ubuntu offline?Splitting large pdf based on page range?Splitting all files in a folder with pdftkCreate a PDF with specific page ranges of multiple PDF files?How can I extract a page range from a PDF file AND retain the PDF tagging in the new file






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









2


















I need to split one PDF file into multiple PDFs, but using specific page ranges.



This CPDF command will split multiple page ranges, but merge them into a single PDF file.



cpdf in.pdf 1-3,90-97,112-end -o out.pdf


I need a command that will carry out a similar function to the above command, but output each page range to its own PDF.



I've looked for solutions to this problem in the PDFTK and CPDF documentation, but haven't found any help.










share|improve this question



























  • Just use a few commands if something is not achieved in a single run. In this case, you could have a separate command for each section, e.g. pdftk in.pdf cat 1-3 output out-1.pdf; pdftk in.pdf cat 90-97 output out-2.pdf etc.

    – vanadium
    Sep 29 at 10:09

















2


















I need to split one PDF file into multiple PDFs, but using specific page ranges.



This CPDF command will split multiple page ranges, but merge them into a single PDF file.



cpdf in.pdf 1-3,90-97,112-end -o out.pdf


I need a command that will carry out a similar function to the above command, but output each page range to its own PDF.



I've looked for solutions to this problem in the PDFTK and CPDF documentation, but haven't found any help.










share|improve this question



























  • Just use a few commands if something is not achieved in a single run. In this case, you could have a separate command for each section, e.g. pdftk in.pdf cat 1-3 output out-1.pdf; pdftk in.pdf cat 90-97 output out-2.pdf etc.

    – vanadium
    Sep 29 at 10:09













2













2









2








I need to split one PDF file into multiple PDFs, but using specific page ranges.



This CPDF command will split multiple page ranges, but merge them into a single PDF file.



cpdf in.pdf 1-3,90-97,112-end -o out.pdf


I need a command that will carry out a similar function to the above command, but output each page range to its own PDF.



I've looked for solutions to this problem in the PDFTK and CPDF documentation, but haven't found any help.










share|improve this question
















I need to split one PDF file into multiple PDFs, but using specific page ranges.



This CPDF command will split multiple page ranges, but merge them into a single PDF file.



cpdf in.pdf 1-3,90-97,112-end -o out.pdf


I need a command that will carry out a similar function to the above command, but output each page range to its own PDF.



I've looked for solutions to this problem in the PDFTK and CPDF documentation, but haven't found any help.







pdf pdftk






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 29 at 10:19









user3140225

2,7004 gold badges12 silver badges24 bronze badges




2,7004 gold badges12 silver badges24 bronze badges










asked Sep 28 at 19:24









user8547user8547

2181 silver badge8 bronze badges




2181 silver badge8 bronze badges















  • Just use a few commands if something is not achieved in a single run. In this case, you could have a separate command for each section, e.g. pdftk in.pdf cat 1-3 output out-1.pdf; pdftk in.pdf cat 90-97 output out-2.pdf etc.

    – vanadium
    Sep 29 at 10:09

















  • Just use a few commands if something is not achieved in a single run. In this case, you could have a separate command for each section, e.g. pdftk in.pdf cat 1-3 output out-1.pdf; pdftk in.pdf cat 90-97 output out-2.pdf etc.

    – vanadium
    Sep 29 at 10:09
















Just use a few commands if something is not achieved in a single run. In this case, you could have a separate command for each section, e.g. pdftk in.pdf cat 1-3 output out-1.pdf; pdftk in.pdf cat 90-97 output out-2.pdf etc.

– vanadium
Sep 29 at 10:09





Just use a few commands if something is not achieved in a single run. In this case, you could have a separate command for each section, e.g. pdftk in.pdf cat 1-3 output out-1.pdf; pdftk in.pdf cat 90-97 output out-2.pdf etc.

– vanadium
Sep 29 at 10:09










1 Answer
1






active

oldest

votes


















2



















You can do this with cpdf using a simple for-loop:



for pages in 1-3,90-97,112-end;do cpdf in.pdf $pages -o out-$pages.pdf;done





share|improve this answer




























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1177353%2fsplit-pdf-into-multiple-page-ranges-with-multiple-outputs%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown


























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2



















    You can do this with cpdf using a simple for-loop:



    for pages in 1-3,90-97,112-end;do cpdf in.pdf $pages -o out-$pages.pdf;done





    share|improve this answer































      2



















      You can do this with cpdf using a simple for-loop:



      for pages in 1-3,90-97,112-end;do cpdf in.pdf $pages -o out-$pages.pdf;done





      share|improve this answer





























        2















        2











        2









        You can do this with cpdf using a simple for-loop:



        for pages in 1-3,90-97,112-end;do cpdf in.pdf $pages -o out-$pages.pdf;done





        share|improve this answer
















        You can do this with cpdf using a simple for-loop:



        for pages in 1-3,90-97,112-end;do cpdf in.pdf $pages -o out-$pages.pdf;done






        share|improve this answer















        share|improve this answer




        share|improve this answer








        edited Sep 29 at 10:18

























        answered Sep 29 at 10:10









        user3140225user3140225

        2,7004 gold badges12 silver badges24 bronze badges




        2,7004 gold badges12 silver badges24 bronze badges































            draft saved

            draft discarded















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1177353%2fsplit-pdf-into-multiple-page-ranges-with-multiple-outputs%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown









            Popular posts from this blog

            Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

            How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

            Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü