I've learned here to apply a watermark to a pdf file without opening it by doing:
pdftk input.pdf stamp watermark.pdf output output.pdf
Now I wanted to do this to every .pdf on a given directory, either substituting the original .pdfs or creating newer ones with the same names + something like -WM.pdf
But this command requires an input file name and output file name, so I don't know how to do a for
loop for it.
On Linux.