YATOPS (Yet Another Thread on Python's Speed) (was Re: HELP! Must choose language!)

David Bolen db3l at fitlinxx.com
Fri Jan 10 12:41:25 EST 2003


BranimirPetrovic at yahoo.com (Branimir Petrovic) writes:

> I would prefer using Python if script performance can be tweaked
> to get to within 1/2 or 1/3 of speed achievable using 'robocopy'. 
> You see robocopy.exe is part of so called Server Resource Kit, and 
> as such can not be freely distributed or used on all machines on
> the network (1 system 1 license is the motto), otherwise I wouldn't
> be shy to resort to simplest solution possible that gets the job 
> done.

By the way, if your end goal is simply directory synchronization
(e.g., duplication across systems and/or maintaining them in sync),
there are other alternative tools as well.  Although unrelated to
Python, I'd definitely suggest that you take a look at rsync - it's a
Unix derived tool, but runs fine under the Cygwin environment, so the
rsync.exe with the cygwin1.dll is all you need under Windows.  It's
great for a simple directory transfer, but it really shines if you
later need to ensure the systems are in sync, as it can compare the
directory trees and then for files that differ, only transmit the
delta information, so it minimizes bandwidth as well (at the cost of
computation time on each end, so you need to evaluate how applicable
to your environment it is).

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/




More information about the Python-list mailing list