[ale] passing output of command to tar via pipe

Fletch fletch at phydeaux.org
Fri May 30 15:23:57 EDT 2003


>>>>> "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 ) 


-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
770 294-0820 (m)      |  scary questions." -- Jules                =(___)=
                      |                                               U
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list