Loading ...
Sorry, an error occurred while loading the content.

Re: copy directory contents with chmod settings

Expand Messages
  • Damien Carbery
    ... I searched CPAN for dircopy (http://search.cpan.org/search?query=dircopy&mode=all) and got one result: File::Copy::Recursive
    Message 1 of 2 , Mar 27, 2007
    • 0 Attachment
      --- In perl-beginner@yahoogroups.com, "qafever" <atiqul@...> wrote:
      >
      > Hi,
      >
      > How would I go about copying fileset to a different directory
      > such as 'cp -prf *' on linux
      >
      > $fromdir = "/home/user/app/install";
      > $todir = "/server/deploy/app/install";
      > ## once locally compiled, deploy them
      >
      > is there a
      > dircopy($fromdir,$todir) or die;
      >
      > Thnaks much,
      >
      I searched CPAN for 'dircopy'
      (http://search.cpan.org/search?query=dircopy&mode=all) and got one
      result: File::Copy::Recursive
      http://search.cpan.org/~dmuey/File-Copy-Recursive-0.31/Recursive.pm
    Your message has been successfully submitted and would be delivered to recipients shortly.