Skip to content

Instantly share code, notes, and snippets.

@brake
Created April 2, 2015 09:43
Show Gist options
  • Save brake/f31b65ffb3563be49aa0 to your computer and use it in GitHub Desktop.
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)
@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