- combine_pdf
- libreconv
- optparse
- The default source_directory is the active working directory. The default save_directory is the desktop. The default source file extension is pdf.
- If you pass another file type besides
pdf
as--source_file_extension
, this script will attempt to conver the files to pdf before merging them together.
ruby merge_pdf_v3.rb --source_directory ~/Downloads --save_directory ~/Desktop --source_file_extension odt