5 lines
155 B
Bash
5 lines
155 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# Rename all the files/dirs in the current directory to lower case.
|
||
|
|
||
|
for i in $( ls | grep [A-Z] ); do mv -i $i `echo $i | tr 'A-Z' 'a-z'`; done
|