#!/bin/sh for s in *mp3; do echo $s madplay -o wave:"$s.wav" "$s" done