Break multipage PDF into single pages

for i in {1..120} ; do gs -dSAFER -dBATCH -dNOPAUSE -dFirstPage=$i -dLastPage=$i -dCompatibilityLevel=1.7 -sDEVICE=pdfwrite -o “klosterman-p$i.pdf” “klosterman.pdf” ; done

Leave a Reply