PDF Merger is a simple script to combine multiple PDFs into one single PDF. It is written entirely in Ruby.
This script depends on the gem 'CombinePDF' by Boaz Segev. Prior to running the script, you must install the gem by executing the following command:
gem install combine_pdf
ruby pdf_merger.rb [text-file] [output-file]
Note: text-file is a text file containing a list of the names of the individual PDFs and output-file is the name for the combined PDF to be saved as. For example, ruby pdf_merger.rb myTextFile.txt myCombinedPDF will combine each individual PDF in myTextFile.txt into myCombinedPDF.pdf.
- PDF Merger is licensed under the MIT license.