snipt

Ctrl+h for KB shortcuts

Bash

Decrypt a GPG file

$ gpg --output foo.txt --decrypt foo.txt.gpg
https://snipt.net/embed/1b9f7ddb9923ef297a00d6d1ab6f9ff9/
/raw/1b9f7ddb9923ef297a00d6d1ab6f9ff9/
1b9f7ddb9923ef297a00d6d1ab6f9ff9
bash
Bash
1
2019-07-19T12:21:34
True
False
False
/api/public/snipt/24381/
decrypt-a-gpg-file
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>$ gpg --output foo.txt --decrypt foo.txt.gpg </span></pre></div> </td></tr></table>
gnupg, gpg