Damon Estep wrote: > # for a in *.wav; do sox $a `echo $a|sed -e s/wav//`ul ; done I'll even give you another helpful hint (assuming you are using bash): # for a in *.wav; do sox $a ${a%.wav}.ul; done 'man bash' is interesting reading :-)