Perl/Shell Knowledge Sharing
Perl Interview Questions and Answers
Sunday, January 2, 2011
Perl - Recursive copy for directory
#!\c:\Perl
use File::Copy::Recursive;
my $file1='D:/Wipro/PerlDiaBackup2/oops';
my $file2='d:/test';
File::Copy::Recursive::dircopy $file1, $file2 or die "Copy failed: $!";
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment