[clug] Spaces in filenames?

Paul Alexander Warren u3292467 at anu.edu.au
Wed Aug 20 11:20:51 EST 2003


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




More information about the linux mailing list