Help for this page

Select Code to Download


  1. or download this
    my %stat;
    find ( sub {
            my($dev,$ino)= stat $File::Find::name;
            ++$stat{$dev}->{$ino};
    }, $targetdirectory);
    
  2. or download this
    find( {
        wanted => sub {
    ...
        no_chdir => 1,
        follow => 0,
    }, '/');