sed or awk question - replace caps with small letters
want to run a command on a directory, to change all file names in capital letters to small caps..
You could do it with a simple script like:
for i in $files
mv $i `echo $i | tr [A-Z] [a-z]`
# Mind the backquotes!!!!
If you put an 'echo' command before the 'mv' command you will see what will actually happen:
echo mv $i `echo $i | tr [A-Z] [a-z]`
|All times are GMT -5. The time now is 01:11 AM.|