perl · 2007-10-17 14:00:18 · 阅读: 437 还有更简单的 #!/usr/bin/perl -w use strict;use File::Find;use File::Path; find(sub {if ((-d $File::Find::name) && ($File::Find::name =~ /CVS/i )) { rmtree($File::Find::name,1,1)}},"c:/temp");