2 my $top=`pwd`; chomp $top;
8 # uppercase DOS names with the vfat driver need some forceful convincing
9 # to actually make them lowercase
10 rename($from,"$to.xxx.xx");
11 rename("$to.xxx.xx",$to);
15 my $old = `pwd`; chomp $old;
19 print "scanning $cur\n";
22 opendir(X,".") || return;
23 while (my $name = readdir(X)) {
28 rename($name,$n) || die;
29 vfat_rename($name,$n);
33 opendir(X,".") || return;
34 while (my $name = readdir(X)) {
35 next if $name =~ m/^\.+$/;
36 next if $name eq ".git";
37 next if $name eq ".GIT";
42 rename($name,$n) || die;
43 vfat_rename($name,$n);
47 opendir(X,".") || return;
48 while (my $name = readdir(X)) {
49 next if $name =~ m/^\.+$/;
50 next if $name eq ".git";
51 next if $name eq ".GIT";
56 foreach my $name (@x) {