- Download
pdfmerger.exe
from the releases page page, or directly https://github.com/mfossen/pdfmerger/releases/download/v0.1/pdfmerger.exe - Open PowerShell by hitting the windows key and typing in
powershell
in the windows start menu. - Navigate to where you downloaded
pdfmerger.exe
, if it's in your Downloads folder, typingcd Downloads
in PowerShell should get you there. - Run
pdfmerger.exe
by typing./pdfmerger.exe --help
to display a list of options.
pdfmerger
will read in a directory of PDF files, group them byT_##
and then merge them in sorted order into a single file namedT_##.pdf
pdfmerger.exe --input-directory in-pdfs --output-directory out-pdfs
should be all the program needs, and will createout-pdfs
if it doesn't exist.
for example, if you are in powershell in your Downloads folder where you downloaded pdfmerger.exe
, with a directory of PDF files in the Downloads folder, you'd run ./pdfmerger.exe --input-directory 'Input PDF Files' --output-directory 'Output PDF Files'
(if there are spaces in the folder name, it needs to be surrounded by single quotes, otherwise they can be left out. Also appears to break if there's a trailing slash on the name, like 'this folder name breaks/'
however 'this folder name works'
)