I would like to be able to rip a CD through the command line (using cdparanoia and lame, preferably) without having to use temporary files. I'm thinking that this would save some time with the encoding process, but if this isn't the case, please let me know.
So far, I've tried cdparanoia 1 - | lame -f --silent - track.mp3, and it worked well on that first track. However, I can't figure out how I can pipe all of the tracks from the CD in this way without doing some slightly messy parsing of the CD track table.
Is this kind of thing feasable in a one-liner, or will I have to grab the number of tracks and iterate?
EDIT: I'd appreciate input on whether or not ripping the full CD in this way and splitting tracks post-encoding would be any better or more feasable.