PDFTK can be used to easily split out pages of a PDF file into separate PDF files at the shell. It is available for both Linux and Windows.
For Windows: Ensure that PDFTK is installed and the directory of
pdftk.exe is in the
PATH environment variable.
For Ubuntu: PDFTK can be installed using:
$ sudo apt install pdftk
To split a PDF file into multiple PDF files, one per page of the original PDF file, invoke:
$ pdftk foobar.pdf burst output foobar-%d.pdf
foobar.pdf is a 2 page PDF, this splits it into
If you split often, it would be much nicer to invoke the above simply as:
$ splitpdf foobar
To be able to do that on Windows, you can turn the above invocation into a batch file:
REM splitpdf.bat pdftk %1.pdf burst output %1-%%d.pdf
%1 is the first input argument to the batch file invocation. And
%% is the way to escape
%, which is a special character in a batch file.
(via Beamer + Ipe + views)