[clue] gpg question
Michael Fierro
miguelito at biffster.org
Fri Aug 24 18:58:29 MDT 2012
On Fri, Aug 24, 2012 at 3:47 PM, Mike Bean <beandaemon at gmail.com> wrote:
Concerning gpg - is there an efficient way to remove the original after you
> encrypt?
>
gnupg doesn't include functionality to manage files, including deleting
them. It leaves that up to the OS. Your best bet would be to write a shell
script. The alogrithm would be:
gpg --encrypt $1
if successful
delete $1 (either using rm or shred)
else if not successful
echo "$1 not successfuly encrypted, not deleting
--
Michael Fierro biffster at gmail.com
"The truth of the matter is, I'm a bright enough guy, but I'm hardly a
genius." - Cory Doctorow
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20120824/7e3532a7/attachment.html
More information about the clue
mailing list