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;
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
add a comment
|
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
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
add a comment
|
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
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
pdf pdftk
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
add a comment
|
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
add a comment
|
1 Answer
1
active
oldest
votes
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
add a comment
|
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment
|
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
add a comment
|
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
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
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
add a comment
|
add a comment
|
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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