Encrypt / Decrypt Scripts

Salvador Torres saltorr07 at gmail.com
Tue Oct 28 01:52:56 CET 2008


Hi,
I'm trying to run some Scripts to Encrypt and Decrypt files automatically..

now the questions are:

How can I delete the *.ZIP files after this command is executed without
errors ?

gpg --batch --encrypt-files -r "KEY" c:\test2\*.zip

Same case here:

How can I delete the *.gpg files after this command is executed without
errors and Successfully?

gpg --passphrase-fd 0 --batch --decrypt-files *.gpg <phrase.txt
Thanks,
SalTorr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20081027/834a6877/attachment.htm>


More information about the Gnupg-users mailing list