Subject: | problem with exclude |
exclude does not seem to ignore subdirectories that match the pattern, which is what gnu du seems to do.
The following test is done on a file if (-f)
if (defined $config{exclude}) {
my $filename = basename($_);
next if $filename =~ /$config{exclude}/;
}
I think it should also be done if (-d), and recursion at that point should stop (thereby excluding the entire subtree)