Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 2.07 KB

README.md

File metadata and controls

22 lines (17 loc) · 2.07 KB

PdfSplit is a .NET console application for splitting PDF files into multiple files. Pass a PDF file to this app on the command line (or drag a PDF file onto the executable in Windows Explorer), and it will be split into multiple documents, one document per page.

Note: It was developed in Microsoft Visual Studio 2008 (although it currently needs Visual Studio 2017 to build), and targetting the .NET Framework 4.5. This is because the lady who I originally developed it for, to use at work, only has .NET 4.5 on her PC and the company policy didn't permit her to upgrade. Hence it needs to be left targetting that framework version.

Note 2: Although the executable only requires the .NET Framework 4.5 to run, there is a Unit Test project in the solution. In order to execute tests in that project, you require .NET Framework 4.6.1 on your machine. This, of course, shouldn't be a problem if you're running it from within Visual Studio 2017 or higher.

Usage

  • Split a single PDF file into many:
    SplitPdf.exe <File>
  • Split multiple PDF files into many (batching):
    SplitPdf.exe <File1> <File2> <...> <FileN>
  • Merge multiple PDF files into one (creates <OutputFile> at the end):
    SplitPdf.exe -m <File1> <File2> <...> <FileN> <OutputFile>

Checking for Upgrades

From version 2.5.6.0 onwards, SplitPdf will automatically check for upgrades every 14 days. You can configure this behaviour by editing SplitPdf.exe.config, and changing the following settings:
  • DaysBetweenUpgradeCheck (default: 14) - Set this to -1 to disable automatic checking for upgrades.
  • UpgradeCheckUrl - Don't modify this value, or the application will become unstable.
  • SecondsDelayAfterFindingUpgrades - If the application finds an upgrade, it pauses to give you time to copy the URL. This is the number of seconds it should wait for.

At any time, you can force a manual upgrade check by executing: SplitPdf.exe -uc