automating gnupg decryption

Tracy D. Bossong sithtracy at yahoo.com
Sat Nov 12 02:03:03 CET 2005


for /F "tokens=1-4 delims=/ " %%a in ('Date/t') Do Set
DTE=%%d%%b%%c
set DTE=%DTE:~-6%

That will help you with your date issues, but for
Windows scripting, you may want to search
alt.msdos.batch.nt

I could help you by writing the script, but think you
might appeciate it more if you did it yourself and
researched it on usenet.

Best of luck.

--- Sean Cerney <sean_cerney at hotmail.com> wrote:

> Hello All,
> 
> I am using gnupg to decrypt files that are imported
> to us daily.  These are 
> xml files.  I use GnuPG in a Windows environment.
> 
> i'm trying to find the right command line code to
> use to automate the 
> decryption of these files.
> 
> I can enter the following code:
> 
> gpg --output (pathname)\(desired output name)
> --decrypt (pathname)\*.xml.pgp
> 
> where *.xml.pgp is any decrypted xml file in my
> folder.
> 
> my question is:  can I automate gpg to assign a
> unique name to the OUTPUT 
> file (such as 11_05.xml, etc.) instead of manually
> entering a name each 
> time?
> 
> thanks for any help.
> 
>
_________________________________________________________________
> Express yourself instantly with MSN Messenger!
> Download today - it's FREE! 
>
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> 
> _______________________________________________
> 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