Re: using stdin stdout with lame

Warren Toomey <wkt-G2kne9RB/[email protected]>
Newsgroups gmane.comp.audio.mp3.encoders
Message-ID <[email protected]>
On Mon, Sep 11, 2006 at 04:55:02PM +0100, [email protected] wrote:
> tar -zxvf rob.tgz | lame - rob.mp3

Reading the tar manual:

    tar {-r | -u} -f archive-file [options] [files | directories]

    -O      (x, t modes only) In extract (-x) mode, files will be written to
             standard out rather than being extracted to disk.

So:    tar vxzOf rob.tgz /dirpath/rob.wav | lame - rob.mp3

and then lose the v option because you know that it works.

	Warren
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.