WARNING: I have had files disappear on me when using such a script when the
target filesystem is on a Win32 machine. It is safer to rename them via an
intermediate name:

for file in $*
do
        to=`echo $file | tr [:upper:] [:lower:]`
        mv $file $to.newone;mv $to.newone $to
done

Rgds, Andy Chittenden

Email:  [EMAIL PROTECTED]       Fax:    +44 1753 661011
WAVE Development, Madge Networks Ltd
Wexham Springs, Framewood Road, Wexham, Slough SL3 6PJ, England

Reply via email to