Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Function to sweep a file tree

by bojinlund (Monsignor)
on Jun 21, 2020 at 06:21 UTC ( [id://11118300]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $d =  Win32::LongPath-> new;
    …
    $d-> readdirL;
    
  2. or download this
    dir: C:   #dirs: 79923 #files: 305816 #nodes: 385739  1/s: 5749
    dir: D:   #dirs: 7776 #files: 115255 #nodes: 123031  1/s: 14499
    dir: Q:   #dirs: 907 #files: 16095 #nodes: 17002  1/s: 12374
    dir: C:   #dirs: 67183 #depth: 13 #files: 259099 #nodes: 326282  1/s: 
    +5558 (skipping 'C:/Users')
    
  3. or download this
    # recurse if dir
      if (($file ne '.') && (($stat->{attribs}
    ...
        search_tree ($name);
        next;
      }
    
  4. or download this
    use strict;
    use warnings;
    ...
        say summary( FS_sweep( "$dev:", \&FS_file_big ) );
        output;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11118300]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (None)
    As of 2024-04-25 00:00 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found