Download the tool:
From browser: http://www.sejda.org/download/
or
From command line(terminal): wget https://bitbucket.org/torakiki/sejda/downloads/sejda-console-1.0.0-BETA-bin.zip
Unzip the downloaded file:
Go to the folder from command line where the file is downloaded and type below commands. unzip sejda-console-1.0.0-BETA-bin.zip chmod +x bin/sejda-console
Now setup is done and we are good to go to use the tool for merging PDF files.
command to merge PDF files: ./bin/sejda-console merge -f -o
Example: ./bin/sejda-console merge -f file1.pdf file2.pdf -o output.pdf
Thank you for the example. If just everyone would do that 🙂