decrypt multiple files to stdout

Ivan Boldyrev boldyrev+nospam at
Tue Mar 7 05:15:01 CET 2006

On 9405 day of my life Nicolas Rachinsky wrote:
> Hallo,
> how can I decrypt multiple files to stdout? I have two (or more)
> files, a.gpg and b.gpg, and want the equivalent of "gpg a.gpg; gpg
> b.gpg; cat a b" without the intermediate files.
> "gpg --multifile --decrypt a.gpg b.gpg" does not work. The behaviour
> seems to differ from the manual.

(gpg < a.gpg; gpg < b.gpg) | cat

But you will be asked password twice.  Use gpg-agent :)

Ivan Boldyrev

                                      Life!  Don't talk to me about life.

More information about the Gnupg-users mailing list