>>>>> "Ken" == Ken Brush <[EMAIL PROTECTED]> writes:

Carla> Is there a more streamlined way to do this? or a better utility
Carla> than sox?

Ken> Try using basename Here's the example:

Ken> for i in `ls *.wav`; do echo -e "$i"; sox $i `basename $i
Ken> .wav`.cdr; done

The backtick stuff is not necessary.  Howsabout:

 $ for i in *.wav ; do echo $i ; sox $i ${i%%.wav}.cdr ; done

-- 
Russell Senior         ``I have nine fingers; you have ten.''
[EMAIL PROTECTED]
_______________________________________________
PDXLUG mailing list
[EMAIL PROTECTED]
http://pdxlug.org/mailman/listinfo/pdxlug

Reply via email to