On Dec 30, 2003, at 1:00 PM, jrx@telia.com wrote:
I would like to decode a whole directory in a bunch. Probably I have to use some kind of ordinary *nix command (I'm from the other side), but I can't figure it out, and I can't find any description of this presumably easy matter in man madplay
You can either have madplay decode everything in one go:
madplay -o out.wav *.mp3
(in this case there is only one output)
or if you need individual output files you can use some shell scripting to decode files one-at-a-time:
for file in *.mp3; do madplay -o $file.wav $file; done
The above is for Bourne-derived shells; hopefully yours is not of Csh variety.