If you're interested in removing those spaces from Windoze filenames:
Code:
To remove the spaces in files in a directory ->
for i in *; do mv "$i" `echo $i | tr ' ' '_'`; done
or a bash script:
Code:
###To remove spaces from files
#!/bin/bash
IFS='
'
j=`find $1 -printf "%d\n" | sort -u | tail -n 1`
j=$((j-1))
echo "Max dir depth:" $j
for (( i=0; i<=j ; i++ ))
do
for name in `find -mindepth $i -maxdepth $i -iname "* *" -printf "%p\n"`
do
newname=`echo "$name" | tr " " "_"`
echo "$name" "$newname"
mv "$name" "$newname"
done
done
##########
Useful for cleaning up Windoze entropy.