Sign a lot of files

Rémi Guyomarch rguyom@mail.dotcom.fr
Fri, 18 Feb 2000 01:38:50 +0100


On Thu, Feb 17, 2000 at 06:54:59PM +0100, Thomas Bader wrote:

> On Thu, 17 Feb 2000, Rémi Guyomarch wrote:
>
> Hi!
>
> > for f in `find . -type f -print` ; do
> > gpg --passphrase-fd 0 --yes -ba "$f" < /tmp/pp
> > done
>
> Yes, of course! I didn't look at the builtins of my shell :)
>
> Another question: Is it possible to say gpg it has to create a signature
> with ".sig" as extension, not ".asc"? I know, I could do it with a
> script, but this isn't such elegant as to say gpg to do it.
Add "--output $f.sig" to the gpg command line.