Multiple files

Johan Wevers johanw at
Thu Feb 3 16:42:21 CET 2005

Kevin Smith wrote:

>Is there a way to encrypt multiple files at one time...say I want to encrypt
>EVERY file in a folder called tobeencrypted...any easy way??

for i in *; do gpg -e -r myname $i; done

ir. J.C.A. Wevers         //  Physics and science fiction site:
johanw at   //
PGP/GPG public keys at

More information about the Gnupg-users mailing list