gpg2 --decrypt-files *.gpg - fail, to creates appropriate files without .gpg extension.

gpg2 --output - --decrypt-files *.gpg  
gpg: --output doesn't work for this command

How to do it?

link|improve this question

64% accept rate
feedback

1 Answer

Use gpg-agent and re-execute gpg2 for each file:

export GPG_AGENT_INFO=...
for i in *.gpg; do
    gpg2 --batch -qd < $i
done
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.