wildcard use in GnuPG
David Picón Álvarez
eleuteri at myrealbox.com
Thu Jan 11 00:41:28 CET 2007
> 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.
More information about the Gnupg-users