I am using pdftk to perform some operations on PDFs. Right now I am doing it like this:
pdftk <files> OPERATION <options> output - | \
pdftk - <other files> OPERATION <options> output - | \
...
pdftk - OPERATION <options> output final.pdf
So basically I am outputting the result of the first operation to stdout and then piping it into another pdftk process and so on until I am done.
Is there a better way of doing this with only one pdftk process?
Operations used are: cat, multistamp, shuffle and range selections on the pages.