deleting keys in batch

Frank Tobin ftobin@neverending.org
Fri Feb 15 19:18:01 2002


John Kane, at 12:43 -0500 on 2002-02-15, wrote:

> We're able to force 'Yes' responses with this:
>   gpg --command-fd 0 --delete-secret-and-public-key KEYNAME <YY
>
> where YY is a text file containing:
> Y
> Y

The cleaner way of doing this would be:
  yes Y | gpg --command-fd 0 --delete-secret-and-public-key KEYNAME

-- 
Frank Tobin		http://www.neverending.org/~ftobin/