How to replace pages in pdf with bookmarks?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I have a pdf-file pdf1 with bookmarks and I have another pdf-file pdf2. I want to replace all (or part of) the pages of pdf1 with the pages of pdf2 so that the bookmarks stay where they were. In Acrobat it's a trivial procedure, but how to do it in Unix? As I understand (or am I mistaken?), pdftk wipes off the bookmarks. Would be nice to do it in cli...










share|improve this question























  • I'm not sure, but did you tried pdfsam?
    – N0rbert
    Jan 29 at 16:14










  • @N0rbert I would prefer a cli, but anyway thanks! I'll take a look.
    – evb
    Jan 29 at 20:00














up vote
0
down vote

favorite












I have a pdf-file pdf1 with bookmarks and I have another pdf-file pdf2. I want to replace all (or part of) the pages of pdf1 with the pages of pdf2 so that the bookmarks stay where they were. In Acrobat it's a trivial procedure, but how to do it in Unix? As I understand (or am I mistaken?), pdftk wipes off the bookmarks. Would be nice to do it in cli...










share|improve this question























  • I'm not sure, but did you tried pdfsam?
    – N0rbert
    Jan 29 at 16:14










  • @N0rbert I would prefer a cli, but anyway thanks! I'll take a look.
    – evb
    Jan 29 at 20:00












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a pdf-file pdf1 with bookmarks and I have another pdf-file pdf2. I want to replace all (or part of) the pages of pdf1 with the pages of pdf2 so that the bookmarks stay where they were. In Acrobat it's a trivial procedure, but how to do it in Unix? As I understand (or am I mistaken?), pdftk wipes off the bookmarks. Would be nice to do it in cli...










share|improve this question















I have a pdf-file pdf1 with bookmarks and I have another pdf-file pdf2. I want to replace all (or part of) the pages of pdf1 with the pages of pdf2 so that the bookmarks stay where they were. In Acrobat it's a trivial procedure, but how to do it in Unix? As I understand (or am I mistaken?), pdftk wipes off the bookmarks. Would be nice to do it in cli...







command-line pdf pdftk master-pdf-editor






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 29 at 13:56

























asked Jan 29 at 13:46









evb

1186




1186











  • I'm not sure, but did you tried pdfsam?
    – N0rbert
    Jan 29 at 16:14










  • @N0rbert I would prefer a cli, but anyway thanks! I'll take a look.
    – evb
    Jan 29 at 20:00
















  • I'm not sure, but did you tried pdfsam?
    – N0rbert
    Jan 29 at 16:14










  • @N0rbert I would prefer a cli, but anyway thanks! I'll take a look.
    – evb
    Jan 29 at 20:00















I'm not sure, but did you tried pdfsam?
– N0rbert
Jan 29 at 16:14




I'm not sure, but did you tried pdfsam?
– N0rbert
Jan 29 at 16:14












@N0rbert I would prefer a cli, but anyway thanks! I'll take a look.
– evb
Jan 29 at 20:00




@N0rbert I would prefer a cli, but anyway thanks! I'll take a look.
– evb
Jan 29 at 20:00















active

oldest

votes











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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
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%2f1001002%2fhow-to-replace-pages-in-pdf-with-bookmarks%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1001002%2fhow-to-replace-pages-in-pdf-with-bookmarks%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

`kcmshell` modules relation with `/usr/share/applications`

How to enroll fingerprints to Ubuntu 17.10 with VFS491