[ale] passing output of command to tar via pipe

John Wells jb at sourceillustrated.com
Fri May 30 15:36:34 EDT 2003


Fletch said:
>>>>>> "John" == John Wells <jb at sourceillustrated.com> writes:
>
>     John> I've done it before...damned if I can't get the syntax right
> John> now.  Say I have a process that generates a lot of output.
> John> I want to capture that output and compress to a gzipped tar
> John> file with tar -zcvf.  What syntax would I use (bsh)?
>
> Having a tarball of just one file is kinda useless . . . but
>
>
> tar zcf fooble.tar.gz <( make_gobs --of output )

Lol...good point....don't really need tar at all....can just use gzip I
suppose.

Sigh....a long day :)...

thanks,
John


_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list