Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    # dirdupes
    ...
        $dirs{$File::Find::name} = 1;
        ++$dirs{$File::Find::name};
    }
    
  2. or download this
    Output
    c:\Temp\hddzip>perl dirdupes.pl
    ...
    C:\Temp/hddzip/P12345679
    C:\Temp/hddzip/Test1/P12345678
    C:\Temp/hddzip/Test2/P12345678
    
  3. or download this
    #!/usr/bin/perl
    # dirdupes
    ...
        if (not exists($dirs{$P00})) {$dirs{$P00}=[];}
        push @{$dirs{$P00}},$File::Find::dir;
    }
    
  4. or download this
    C:\Temp\hddzip>perl dirdupes.pl
    
    ...
    P12345679 - C:/Temp/hddzip
    P12345679 - C:/Temp/hddzip/PDF