Shell script question for GnuPG on FreeBSD

Eric Buchanan freebsd at usol.com
Sat Jan 22 02:56:30 CET 2005


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

Hello all,

I'm trying to migrate a shell script to use gnupg instead of PGP 5.0i on 
FreeBSD.  I can't seem to convert this line:

pgpe -r root -sta (long list of files to encrypt with one command.)

Is there any easy way to do this with gnupg? My efforts to change it reading 
the man page aren't working.

gpg --encrypt-files -r root -sta (long list of files to encrypt with one 
command.) doesn't work with multiple files, but it does with single files.

I want to use gnupg once in the script  to encrypt a large number of large 
files in one directory with just one command. I need to access these files on 
Windows XP and OpenBSD so I use ascii armoring.

Any help would be appreciated.

Eric Buchanan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB8bLR//GaROrFlAkRAv2PAJ9KihIMboYP0JMuyjIFQIPrQ+B69ACfYUjk
usjwUwa2BeswW6W8ZmxCu3A=
=JeRa
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list