New answers tagged split
The solution posted by Raphael is flawed: if you have an uneven number of pages, the last ones are just ignored. There it is an improved solution that works also with an uneven number of pages. Again, assumes that you have the number of pages per chunk in $pagesper and the filename of the source PDF in $file. number=$(pdfinfo -- "$file" 2> /dev/null | ...
Top 50 recent answers are included