in reply to Copying all files and subdirectories from one directory to another..

Practice on some temp dirs first.:-)
#!/usr/bin/perl use File::NCopy; $file = File::NCopy->new(recursive => 1); $file->copy($dir1, $dir2); # Copy $dir1 to $dir2 recursively
  • Comment on Re: Copying all files and subdirectories from one directory to another..
  • Download Code