Steve's suggestions worked great for ignoring or not recursing directories, but I am unable to filter out all directories not named "My Documents" . I have tried using regex and grep to filter them out but no luck this fails, just goes to the root directory and exits, and the docs really don't say how the preprocess option works : find { preprocess => sub { grep( /My\s+Documents/, @_) }, wanted => sub { print "$File::Find::name\n"} }, 'c:/test2';
--- pruning also fails if i try to weed out all but "My Documents" find sub { if ($_ !~ /My\s+Documents/) { ++$File::Find::prune } print "$File::Find::name\n"; }, 'c:/test2'; I get the same result as above. Help... Thanks Jim -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]