sajad torkamani

Install pdfunite

brew install poppler

Combine PDFs explicitly

pdfunite 1.pdf 2.pdf 3.pdf combined.pdf

Combine all files in a directory

pdfunite $(ls -v *.pdf) combined.pdf

If you need order, give the file names a numeric prefix such as 1. Some file, 2. Another file.

Tagged: macOS