[ale] passing output of command to tar via pipe
Geoffrey
esoteric at 3times25.net
Fri May 30 15:34:27 EDT 2003
John Wells wrote:
> I've done it before...damned if I can't get the syntax right now. Say I
> have a process that generates a lot of output. I want to capture that
> output and compress to a gzipped tar file with tar -zcvf. What syntax
> would I use (bsh)?
Is this 'lot of output' data or what? Point is, if it's data I'd
suspect you just want to gzip it as in:
script_sending_output_2_stdout | gzip > file.gz
If it's a list of a whole bunch of files:
tar -czf file.tgz 'list of files'
I guess I don't understand the problem???
--
Until later: Geoffrey esoteric at 3times25.net
The latest, most widespread virus? Microsoft end user agreement.
Think about it...
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list