Multiple files

Johan Wevers johanw at vulcan.xs4all.nl
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??

#!/bin/bash
for i in *; do gpg -e -r myname $i; done

-- 
ir. J.C.A. Wevers         //  Physics and science fiction site:
johanw at vulcan.xs4all.nl   //  http://www.xs4all.nl/~johanw/index.html
PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html



More information about the Gnupg-users mailing list