7

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.

mael'
  • 1,946
masgo
  • 2,324

1 Answers1

0

The pdftk package has been removed at least from Fedora. Consider pdfjam, it is a quite capable PDF mangler (hyperlinks get lost, though). Packages should be available for most Linux distributions and MacOS.

vonbrand
  • 2,509