encrypting and replacing

Ivan Boldyrev boldyrev+nospam at cgitftp.uiggm.nsc.ru
Tue Jan 20 10:23:59 CET 2004

On 8628 day of my life Brian V. Bonini wrote:
> On Mon, 2004-01-19 at 08:25, Micah Daniels wrote:
>> Hi. I am looking for a gpg command and option that for exmaple, when a .txt
>> file is encrypted and its encrypted .gpg file is written, the .txt should be
>> auotmatically deleted from disk, i.e. the .txt file should be replaced  by
>> the .gpg file.

AFAIK, there is no such option.  So, you have to remove file with
additional command.

> $ gpg -ea -r UID file.txt && rm -f file.txt

Ha-ha!  OP uses Outlook, so he is on Windows.  But this command is for
Unix shells...

Ivan Boldyrev

                       Perl is a language where 2 x 2 is not equal to 4.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
Url : /pipermail/attachments/20040120/e2aa09ea/attachment.bin

More information about the Gnupg-users mailing list