pdfseparate requires to specify %d
as PDF-page-pattern which is replaced by the page number.
$ pdfseparate CFL_1115_ISSUU.pdf cfl-%d.pdf
works. It sets separated output file names as cfl-1.pdf, cfl-2.pdf, ..., cfl-10.pdf
etc.
Now I need to add leading 0
to fix the file name string length. So when I try to use formatting characters in command $ pdfseparate CFL_1115_ISSUU.pdf cfl-%04d.pdf
, it gives error Syntax Error: 'cfl-%04d.pdf' must contain '%d' if more than one page should be extracted
Can anybody suggest if such formatting is possible?