Detached signature on multiple files?

Ryan Malayter rmalayter@bai.org
Thu Aug 15 17:36:02 2002


From: Greg Strong [mailto:gw_goldwing@gwstrong.com]=20
>Thanks! I have no Unix box so that leaves me SOL.

Not hardly... The equivalent Windows NT/2000 syntax would be:

   FOR %f IN (*.doc) DO gpg --detach-sign %f

Of course, you might want to pass your passphrase automatically to gpg
using a pipe, like so:
   FOR %f IN (*.txt) DO echo passphrase|gpg --passphrase-fd 0
--detach-sign %f

This works when typed directly on the command line, but for some reason,
you have you use double for percent signs in front of the variable name
in a windows batch file.