wildcard use in GnuPG

2007-01-10 Thread * Ouellette, George
All,

I am trying to use a wildcard, but the option doesn't seem to be
allowed. I want to decrypt a whole folder of files daily, but the file
names will change daily. I want to just do something like:

 
gpg -d -o c:\ftpdropfolder\*.pgp c:\savefolder\


I have tried with and without Quotation marks, but it seems GnuPG
doesn't support wildcards. Thoughts on solutions? I am trying to
automate, so unattended decryption is what I am after. I saw batch
decrypt, but it requires individual file names. 

I am using GnuPG v1.4.6


George

 





___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


wildcard use in GnuPG

2007-01-10 Thread * Ouellette, George
All,

I am trying to use a wildcard, but the option doesn't seem to be
allowed. I want to decrypt a whole folder of files daily, but the file
names will change daily. I want to just do something like:

 
gpg -d -o c:\ftpdropfolder\*.pgp c:\savefolder\


I have tried with and without Quotation marks, but it seems GnuPG
doesn't support wildcards. Thoughts on solutions? I am trying to
automate, so unattended decryption is what I am after. I saw batch
decrypt, but it requires individual file names. 

I am using GnuPG v1.4.6


George

 





___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: wildcard use in GnuPG

2007-01-10 Thread David Picón Álvarez
 I am trying to use a wildcard, but the option doesn't seem to be
 allowed. I want to decrypt a whole folder of files daily, but the file
 names will change daily. I want to just do something like:

gpg is used to a real shell, which expands wildcards. Fortunately you can
partly correct this problem at least.

 gpg -d -o c:\ftpdropfolder\*.pgp c:\savefolder\

Try something like:
for %i in (*.pgp) do gpg --decrypt %i
then perfect the syntax you need.


HTH,
--David.

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users