How to Batch Decrypt With GNU GPG
How to Batch Decrypt With GNU GPG
One question frequently asked in GPG news groups is "How do I decrypt more than one file at a time?"
Steps

Make sure you have a working GNU GPG installation.

Know your passphrase.

In Windows go to the command Prompt. This is either Start|Run Command or CMD depending on your Windows version.

In Windows Command Prompt change directory until you are in the directory with the files you wish to decrypt.

Use this command: echo thisismypassphrase|gpg --batch --passphrase-fd 0 --decrypt-files *.gpg (or *.pgp, or *.asc depending on the files)

It is important to note there is NO SPACE after your passphrase and the pipe. The echo command sends your passphrase to GPG when GPG requires the passphrase.

What's your reaction?

Comments

https://hapka.info/assets/images/user-avatar-s.jpg

0 comment

Write the first comment for this!