Split a pdf file

Is there an application to split a pdf file into smaller files?

It is for the translation of a manual, and each part cannot be larger than 20Gb.

pdftk;

sudo pacman -Syu pdftk
pdftk full.pdf cat 1 4 5-66 output custom.pdf

(in the case above we have taken pages 1, 4, and 5-66 into our new custom.pdf)

Of course see the man pages for all sorts of information;

man pdftk

I use the GUI app

pdfmixtool

It’s in the Manjaro repos and can be installed via

sudo pacman -Syu pdfmixtool

Example with ghostscript:
gs -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=100-200.pdf -dFirstPage=100 -dLastPage=200 source.pdf

You could also use -sPageList=100-200, but in repo version of gs it’s been broken since 10.02.

I will try them out, thanks for all the suggestions.

gscan2pdf extra

masterpdfeditor-free AUR

1 Like

With your large PDF file open in your system’s PDF reader, select to Print the document, from the print dialog select Save As PDF, then under Options enter the page range. No additional programs required.