Piping tar into gpg
Werner Koch
wk at gnupg.org
Thu Feb 21 11:29:19 CET 2013
On Thu, 21 Feb 2013 08:50, f_philipp at fastmail.net said:
> Better approach (in bash, at least):
> tar --create --null --files-from=<(find ... -print0) | gpg ...
As usual --files-from (or -T) takes input from stdin if you use "-" as
file name. Thus there is no need for strange Bash options. -print0 is
no standard but anyway highly useful, BSD tars seem not to have -T but
you may use gpgtar which features -T and --null.
Shalom-Salam,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-users
mailing list