mhoang has asked for the wisdom of the Perl Monks concerning the following question:
I try to use File:Copy:Recursive dircopy to copy the entire directory from site one to site two. It is working for the first time only. My question is will this package allow me to update the directory two recursively?.
Or can you recommend any other method for recursiveley to update the second directory with the info from the first.
My script is:my $source ='K:\\Courses of Study\\curriculum mapping\\'; my $target='C:\\docs\\curriculum maps resources'; print "$source directory does not exist" unless (-d $source); print "Copying under progress for roughly 1 hour...\n"; File::Copy::Recursive::dircopy $source, $target or die "Copy failed: $ +!\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Directory recursively copy
by BrowserUk (Patriarch) on Jun 08, 2010 at 02:14 UTC | |
|
Re: Directory recursively copy
by sflitman (Hermit) on Jun 08, 2010 at 05:35 UTC | |
by mhoang (Acolyte) on Jun 09, 2010 at 03:47 UTC |