#!/usr/bin/perl
foreach(<*>) {  
  $file1 = $_;
  $file2 = lc($file1);
  system("mv  $file1 $file2"); 
}



syntax highlighted by Code2HTML, v. 0.9