Created
April 2, 2015 09:43
-
-
Save brake/f31b65ffb3563be49aa0 to your computer and use it in GitHub Desktop.
Start gpg for decrypting file in a batch mode (ask password in a GUI window)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if "%~1" == "" ( | |
echo Usage: %0 [file to decrypt] | |
) else ( | |
gpg --batch %1 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment