Merge multiple pdf files in one using terminal

0 votes

I want t convert multiple PDF files into one large PDF file. I've already tried:

convert file1.pdf file2.pdf merged.pdf

but the result wasn't as expected. Is there any way I could do this using the command line.

May 17 in Linux Administration by DragonLord999
• 8,380 points
24 views

1 answer to this question.

0 votes

Install a utility call pdfunite which is a part of poppler-utils:

apt-get update

apt-get install poppler-utils

then use pdfunite to merge the files together:

pdfunite in-1.pdf in-2.pdf in-n.pdf out.pdf
answered May 17 by ajs3033
• 7,240 points

Related Questions In Linux Administration

0 votes
1 answer

How to change permissions of folder and files in folder?

The chmod command is used to set/change the permissions ...READ MORE

answered Jan 31 in Linux Administration by Omkar
• 67,120 points
19 views
0 votes
1 answer

generating a list of files with their absolute path in Linux

If you find an absolute path to start with, ...READ MORE

answered May 16 in Linux Administration by Upasana
• 8,430 points
25 views
0 votes
1 answer
0 votes
1 answer

Difference between root (/) and home directory (~) in terminal?

Root directory which is referred to as ...READ MORE

answered Jun 20 in Linux Administration by Vicky
16 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

How to collect all output in one file?

You can use 2> to redirect it: foo ...READ MORE

answered Mar 1 in Linux Administration by ajs3033
• 7,240 points
19 views
0 votes
1 answer

how to loop through the content of a file using bash

One of the ways to do it ...READ MORE

answered Feb 15 in Linux Administration by ajs3033
• 7,240 points
59 views