recursive gpg
Patrick Brunschwig
patrick at mozilla-enigmail.org
Fri Aug 8 17:17:10 CEST 2008
David SMITH wrote:
> On Thu, Aug 07, 2008 at 09:54:13AM -0600, Eliot, Christopher wrote:
>> gpg <arguments> `find . -type f`
>> will get you pretty close.
>
> Close, but if you've got lots of files, you'll hit the maximum command
> line length limit.
You have these two options:
a) find . -type f -excec gpg <arguments> {} \;
"{}" stands for the found filename
b) find . -type f | xargs gpg <arguments>
HTH
-Patrick
More information about the Gnupg-users
mailing list