Monday 19 December 2011

Redirection help

Redirection help

Hi, I'm trying to use a program that accepts 2 files as input.
I need it to accept one of them as std-in and I don't know if it is possible and what pipe or redirection I need for it.
here is an example:

pdftk --background file-one.pdf --overlay file-two.pdf --output new-pdf.pdf

This fist example works with no problems, but I need "file-two.pdf" to be streamed from std-in.
I tried different pipes and redirections but I couldn't make it work.

Can you plase help?

Thanks for your time!

No comments:

Post a Comment