in reply to Re: File:Find::Rule on Win32
in thread File:Find::Rule on Win32
...does indeed exclude any files with an invalid path length. Incidentally, these appear to have come about because directories are shared out half way down the tree and people have then written deep nested directories & files to it. When I come to analyse the directories from the top, the path length is now longer and over the 255 limit.my @results = File::Find::Rule->file->exec( sub { length($_[1]) < 255 +} )->in( $dir );
Cheers both!
|
|---|