[ prog / sol / mona ]

prog


random Unix things

18 2020-05-04 20:56 *

Used this handy command line to split a PDF recently. You don't need an extra tool, Ghostscript does that perfectly.

gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dFirstPage=5 -dLastPage=10 -sOutputFile=output.pdf input.pdf
45


VIP:

do not edit these