#! /usr/bin/perl
use: strict;
use File::Basename;
my @CVSfiles = qw(
development/directory-interface/help/alias.html
development/directory-interface/help/building-records.html
development/directory-interface/help/FAQ.html
development/directory-interface/help/faq-details.html
development/directory-interface/help/faq-manager-promotion-dn-changes.html
development/directory-interface/help/faq-moc.html
development/directory-interface/help/LDAP_to_AD_FAQs.html
development/directory-interface/help/password.html
development/directory-interface/help/images/LDAP_to_AD.gif
development/directory-interface/help/images/gal-01.gif
development/directory-interface/help/images/gal-02.gif
development/directory-interface/help/images/gal-03.gif
development/directory-interface/help/images/gal-04.gif
development/directory-interface/help/images/gal-05.gif
development/directory-interface/help/images/gal-06.gif
development/directory-interface/help/images/gal-07.gif
development/directory-interface/help/images/gal-08.gif
development/directory-interface/query.html
development/directory-interface/index.html
);
my $count = 0;
while (<@CVSfiles>) {
if (/^development/) {
chomp;
$path=$_;
$file=basename $_;
system("cvs checkout -p $path > $file\n");
$count ++;
print qq{count is: $count\n};
}
}
print qq{files checked out is: $count\n};
|