Is there any module/utility like 'rsync' in python.
Thank you in advance.
-Hiral
http://freshmeat.net/projects/pysync/
http://vdesmedt.com/~vds2212/rsync.html
--
-----------------------------------------------------------
| Radovan Garabík http://kassiopeia.juls.savba.sk/~garabik/ |
| __..--^^^--..__ garabik @ kassiopeia.juls.savba.sk |
-----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
> Hi,
>
> Is there any module/utility like 'rsync' in python.
http://code.activestate.com/recipes/577022-rsync-algorithm-in-python/
but you probably aren't going to beat the performance and reliability of
your platform's rsync utility. Chances are that your best approach will
be to call it using the subprocess module.
--
Steven
Depends on what your goal is. My company uses a homegrown librsync
wrapper similar to the aforementioned
http://freshmeat.net/projects/pysync/
because we're up/downloading files over HTTP.
--
Aahz (aa...@pythoncraft.com) <*> http://www.pythoncraft.com/
"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan
Not exactly what you asked for, but Mercurial provides a Python
interface. You might find this URL a good starting point:
http://mercurial.selenic.com/wiki/MercurialApi
--
Jonathan
Mercurial isn't really a substitute for rsync... whilst there's a little
bit of overlap they're different things intended to address different
problems.
> Is there any module/utility like 'rsync' in python.
Your first port of call for such queries should be PyPI
<URL:http://pypi.python.org/>, using its search feature.
In this case, the first several hits address your question.
--
\ “I lost a button-hole.” —Steven Wright |
`\ |
_o__) |
Ben Finney