Gpg.exe decrypt multiple files
You can have either of these two forms: echo "passphrase" gpg --passphrase-fd 0 --batch -d --output "decrypted. Not sure it's great to have the passphrase in the command line like this as then it becomes visible to all users on the system using ps and similar tools — BenKennish. Community Bot 1 1 1 silver badge. Gabe Kopley Gabe Kopley Harika Boggavarapu Harika Boggavarapu 1. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.
Email Required, but never shown. The Overflow Blog. Stack Gives Back Improve this answer. In case you one day need the lines to script a solution! Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Create a free Team What is Teams?
Learn more. Encrypt multiple files at once Ask Question. Asked 9 years, 5 months ago. Active 8 months ago. Viewed 26k times. I see the following error in the shell: usage: gpg [options] --symmetric [filename] Is there a way to do what I'm looking to accomplish? Improve this question. Naftuli Kay Naftuli Kay Why are you first using 7zip presumably to compress, then telling GnuPG to compress again using bzip2? I don't see that gaining you much in terms of space efficiency, and I do see it costing a good deal of CPU.
Yes, try this answer — Anchan. Add a comment. You may find it convenient to create a command alias so that you do not have to type the complete path each time. Depending on what type of shell you are using, you can do that by typing one of the following commands, chosen appropriately, in a Terminal window for the bash shell :. If your shell is tcsh instead of bash , defining an alias is similar. Type a space instead. If you are not sure which shell you are using or this is confusing, you can skip defining an alias and instead just type the full path to the command when issuing the decryption command.
Depending on which Terminal command you used, you might still need to untar the decrypted file. We recommend utilizing the free utility The Unarchiver for that purpose. It can also be downloaded for free from the Mac App Store. First off, try adding the option --no-symkey-cache after gpg in the decryption command, like so:. If you have an older version of gpg, the easiest solution is probably to upgrade your GPG installation. If you don't want to do that for some reason or if it's not feasible, try the following steps:.
Launch the Keychain Access application. It should be located in the "Utilities" folder inside your main "Applications" folder. Alternatively, use Spotlight to locate it by searching for "Keychain Access" without the quotes.
In the search box in the top-right corner of the Keychain Access window, type "gnupg" without the quotes.
0コメント