Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Perl based alternative for EMCopy and/or RoboCopy.

by blackadder (Hermit)
on Oct 06, 2003 at 20:18 UTC ( [id://297065]=perlquestion: print w/replies, xml ) Need Help??

blackadder has asked for the wisdom of the Perl Monks concerning the following question:

Any suggestions please for a better alternative - Perl based - to EMCopy/RoboCopy? And with enhanced options, speed, performance and reliabilty?...

.....Not really asking for much, or am I?

Thanks
  • Comment on Perl based alternative for EMCopy and/or RoboCopy.

Replies are listed 'Best First'.
Re: Perl based alternative for EMCopy and/or RoboCopy.
by phydeauxarff (Priest) on Oct 06, 2003 at 20:52 UTC
    the only thing I found when searching for this was this link for Robocopy which appears to be some sort of utility for copying files if the source and destination are different in some way.

    Would rsync work for you?

    Update - and it appears the perrin posted before I could finish previewing my post ;-)

Re: Perl based alternative for EMCopy and/or RoboCopy.
by jonadab (Parson) on Oct 06, 2003 at 20:45 UTC

    It might help if you tell us what EMCopy/RoboCopy does. I tried to google for it, but found nothing. If you tell us what it does, we'll have a better chance of knowing how to do that in Perl.


    $;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/
      If I recall correctly, they are utilities to copy data from one site to another, while (attempting) maintaining ownership/permission settings (NTFS style). I also recall that the NT shop where I work would use the Robo thingie to move users home directories around to different sites when the user changed locations. The Nix shop would usually have to fix what got messed up in the process (homedirs on NAS boxen), and RoboCopy earned the nickname RoboF*, as in "This user's homedir got..." You get the idea :-)

      LR

      Whip me, Beat me, Make me use Y-ModemG.
Re: Perl based alternative for EMCopy and/or RoboCopy.
by perrin (Chancellor) on Oct 06, 2003 at 20:50 UTC
    It's not Perl, but rsync is the best tool for this kind of job. It also happens to be free.
Re: Perl based alternative for EMCopy and/or RoboCopy.
by Anonymous Monk on May 28, 2012 at 20:53 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://297065]
Approved by jdtoronto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-16 04:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found