Using GPG to encrypt tape backups

Anthony E. Greene agreene@pobox.com
Mon Aug 5 22:15:44 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02-Aug-2002/20:01 -0400, Carl Litt <litt@execulink.com> wrote:
>I'm trying to use GPG as a filter to encrypt my tape backups:
>
>tar cf - backup | gpg -e -r myID -z 9 -o /dev/nst0
>
>The problem is that GPG wants to prompt because /dev/nst0 exists.
>If I answer "y" it works fine, but I'm trying to automate this.  If I use
>--batch, it complains about the existing file and aborts.

Did you try the --yes option?


Tony
- -- 
Anthony E. Greene <mailto:agreene@pobox.com>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Chat: TonyG05      HomePage: <http://www.pobox.com/~agreene/>
Linux: the choice of a GNU Generation. <http://www.linux.org/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene 0x6C94239D <agreene@pobox.com>

iD8DBQE9To40pCpg3WyUI50RAm4hAJkBmDzHuHHwLSYo1VZvwLTPGPjMrACfbNKU
JqrWSkN4o6jTvQX2GWN2Cnk=
=OpGe
-----END PGP SIGNATURE-----