Jun 21, 2024
Ghostscript can be used to merge PDF files into one document.
Here the instructions for macOS: Install Ghostscript with Homebrew and run it afterwards.
$ brew install gs
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=merged.pdf *.pdf