Assuming you want to encrypt every single file in a directory tree, your best bet would be to use the find command. Something like this:
find /SomeDirectory -type f -exec gpg2 --batch --cipher-algo AES256 --force-mdc --symmetric --passphrase-file /FILE -o {}.gpg {} \; The above will save each file with the same name + an extension of ".gpg". The cipher-algo & force-mdc options aren't required of course. Just a personal recommendation.
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users