I use the following in a script to remove spaces from filenames:

for i in *; do mv "$i" `echo $i | tr " " "_"`; done



This of course only works in the current directory, how would I make it
do all files in subdirectories as well?

Tyrion


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to