/ Published in: Bash
Expand |
Embed | Plain Text
for f in *; do file=$(echo $f | tr A-Z a-z | tr ' ' _) [ ! -f $file ] && mv "$f" $file done
You need to login to post a comment.
for f in *; do file=$(echo $f | tr A-Z a-z | tr ' ' _) [ ! -f $file ] && mv "$f" $file done
You need to login to post a comment.