Encrypt / Decrypt Scripts

Hardeep Singh hs2412 at gmail.com
Tue Oct 28 13:50:07 CET 2008


This may be of help, although it doesnt apply directly:

http://blog.hardeep.name/computer/20080904/auto-gpg/

Hardeep Singh
http://blog.Hardeep.name



2008/10/28 Salvador Torres <saltorr07 at gmail.com>:
> 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
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
>
>



More information about the Gnupg-users mailing list