Do you hate users who put spaces in file names, preventing
you from doing any sort of scripting?
Well then this is the little one-liner for you to pop in a
shell script then...
for i in $1 ; do mv "$i" `echo $i | sed 's/ /_/g'` ; done
the echo $i | sed 's/ /_/g' is surrounded by back-tics not
regular quotes.
NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.