How can I use pdftk to burst to the same filename as the source file plus a number?
Sample input
source.pdf
Desired output
source-1.pdf (it is ok if page number has leading zeroes, but not required)
source-2.pdf
Maybe I could use a .bat file to substitute the source filename? I have no idea how to do this. Any help at all is appreciated.
This can be done like the following:
pdftk source.pdf burst output source-%d.pdf
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With