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
Difference between "* and "+ registers in +clipboard VIM?
'The Queen That Never Was' or 'The Queen Who Never Was'?
Making a Plasma Gun that works
Why doesn't the road lose its thickness to the tyre?
I want to have a bond with a baby dragon. Can I?
Want to publish unpublished work found in an auction storage unit
If a picture of a screen is a screenshot, what is a video of a screen?
Is there a BIOS setting that controls cpu load sharing?
How do professors and lecturers learn to teach?
Is leave-one-out cross validation known to systematically overestimate error?
Deutsche Bahn: What does "Train not bookable until further notice" mean?
how to remove some small rocks at the bottom of a 4' vertical water pipe 2 1/2" diameter?
Why isn't current carried through a vacuum?
What type of glass fuse is this and what does the spring do?
Is there any difference between 旅行者 and 旅人?
How can I customize the Touch Bar interfaces for my tremor?
What is the logic for the map maker classifying the map this way, specifically in Canada?
binomial coefficient equal to sum
How to create slices for each selected area of a layer separated by transparency or solid color?
Why is the processor instruction called "move", not "copy"?
A short novel about reaching absolute zero
What should be done when the theory behind a PhD thesis turns out to be wrong?
Who owns copyright on works found in a storage unit/attic?
How to understand "waving it in the bloke from the Ministry's face"
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