Combining PDFs from the Command Line

Here’s a one line command on a Mac to combine PDF documents into a single .pdf. Simply create a new folder, put all the .pdfs that you want to combine in the new folder, and then run the below line of code in your terminal.

"/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" -o onepdftorulethemall.pdf  *.pdf