Combine PDF Documents via Command Line
Combining PDF documents has become an office routine for many people today. More and more file arrive in PDF format. Finally you have to combine all of them into one unifying document. Beginners prefer combining PDF documents via user interface. Advanced users process PDF files via command line. That has a lot of advantages. You don't have to evoke the program. You may combine PDF documents from within other programs. You do not see any dialogues or menus. So the main question is..
How To Combine PDF Documents Via Command Line?
It's an easy thing if you use PDF Combine. Find command line parameters below:
Usage: PDFCombine.exe <source> <destination> <options>
Use quotation marks (") when you have path with spaces.
Note that you can use macros in the Destination path
- <DATE[:format]> - current date, default format is yyyymmdd
- <TIME[:format]> - current time, default format hhmmss
For example: destination C:\<DATE>_<TIME:hhmm> produce file C:\20081009_1252
Options:
- -log <FileName> - Don`t show errors. Write them to the log file
- -list - File with files mask to convert
- -Recurse - Include subfolders
- -do - Delete originals
- -kfs - Keep Folder Structure
- -Content - Creates Table of Bookmarks.
- When several PDF files are combined each filename becomes a bookmark. Table of bookmarks will show you the content of the combined file.
- -Bookmark File - File with names of bookmarks.
- If you want the bookmarks be NOT the filenames place the desired names of bookmarks into separate file and set it as BookmarkFile.
Example:
PDFCombine.exe C:\Profiles\*.pdf C:\UniProfile.pdf -Content -do
PDF Combine will take all the PDF documents from the folder Profiles on disc C and combine them into one. The name os the new combined documents will be UniProfile.pdf. PDF Combine will also create a table of contents and delete source files.