Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Is there any module/utility like 'rsync' in python

1 view
Skip to first unread message

hiral

unread,
Apr 9, 2010, 2:22:46 AM4/9/10
to
Hi,

Is there any module/utility like 'rsync' in python.

Thank you in advance.
-Hiral

garabik-ne...@kassiopeia.juls.savba.sk

unread,
Apr 9, 2010, 2:32:59 AM4/9/10
to
hiral <hiralsm...@gmail.com> wrote:
> Hi,
>
> Is there any module/utility like 'rsync' in python.
>

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!

Steven D'Aprano

unread,
Apr 9, 2010, 2:42:22 AM4/9/10
to
On Thu, 08 Apr 2010 23:22:46 -0700, hiral wrote:

> 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

Aahz

unread,
Apr 22, 2010, 8:55:13 PM4/22/10
to
In article <4bbecc4e$0$8850$c3e...@news.astraweb.com>,

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

Jonathan Fine

unread,
Jun 15, 2010, 11:42:34 AM6/15/10
to

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

Paul Rudin

unread,
Jun 15, 2010, 12:00:10 PM6/15/10
to
Jonathan Fine <J.F...@open.ac.uk> writes:

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.

Ben Finney

unread,
Jun 15, 2010, 7:09:07 PM6/15/10
to
hiral <hiralsm...@gmail.com> writes:

> 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

0 new messages