Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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