for f in *; do file=$(echo $f | tr A-Z a-z | tr ' ' _) [ ! -f $file ] && mv "$f" $file done
replace space in the filenam in linux using mv
To replace the space in the middle of the filename in linux you can use "mv"
Posted by
Alexandre
Saturday, February 21, 2009
Subscribe to:
Post Comments (Atom)
0 comments :: replace space in the filenam in linux using mv
Post a Comment