Thanks folks, looks like I missed the double quotes around the shell variable. All works well now. I used Eyals renaming thing: for I in *.wav ; do new=`echo $I | tr " " "_"` mv "I" "$new" done Cheers -- Paul Warren u3292467 at student dot anu dot edu dot au www.geocities.com/qvack_82