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, 2019 in Linux Administration by DragonLord999
• 8,450 points
815 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, 2019 by ajs3033
• 7,300 points

Related Questions In Linux Administration

0 votes
0 answers

Merge multiple jpg into single pdf in Linux

I used the following command to convert ...READ MORE

Apr 13, 2022 in Linux Administration by Soham
• 9,710 points
1,091 views
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 Feb 1, 2019 in Linux Administration by Omkar
• 69,220 points
2,008 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, 2019 in Linux Administration by Upasana
• 8,620 points
1,396 views
0 votes
1 answer

How can I find out which files differ in two directory trees?

Use this; diff -qr dir1/ dir2/ READ MORE

answered Jun 13, 2019 in Linux Administration by Upasana
• 8,620 points
806 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,059 views
+2 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, 2019 in Linux Administration by ajs3033
• 7,300 points
1,027 views
0 votes
2 answers

how to loop through the content of a file using bash

#!/bin/bash for i in  `cat peptides.txt` do echo $i done READ MORE

answered Sep 5, 2020 in Linux Administration by Prakash K. Aithal
3,014 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP