piątek, listopada 21, 2003

Great script for upper 2 lower case rename !!!!

[sjc@lenny bin]$less up2lo
#!/bin/sh

#
# up2lo - rename files from uppercase to lower case.
#
for i in $*
do
file=`echo $i | tr "[A-Z]" "[a-z]"`
mv $i $file
done

Brak komentarzy: