Looking for cross-platform rsync-like functionality in python, such as rsync.py

有些话、适合烂在心里 提交于 2019-12-04 09:07:00

问题


I am implementing backup scripts in python. I'm trying to keep things cross platform. I hear there is a python based rsync implementation: http://pypi.python.org/pypi/rsync.py

But I can't seem to find it anywhere. All of the download links I find are dead. Does anyone know where I could find the rsync.py program?

At the moment I am using unison for Windows but I would like to try rsync.py


回答1:


Alternative : pysync - implementation of the rsync and related algorithms in pure Python, and a high speed librsync Python extension

  • http://freshmeat.net/projects/pysync/

Another alternative: http://code.google.com/p/pyrsync/




回答2:


Here is the algorythm (not sure if it helps you out):

http://code.activestate.com/recipes/577518-rsync-algorithm/




回答3:


Here is another rsync implementation in Python:

  • http://snipperize.todayclose.com/snippet/py/Rsync-Algorithm-In-Python--188001/



回答4:


I know that rdiff-backup is written in python and use an rsync-like algorithm. It use librsync. Note that rdiff-backup is not a replacement for rsync, so it will not fill your needs. But you can take a look at librsync and see how rdiff-backup use it.



来源:https://stackoverflow.com/questions/4260767/looking-for-cross-platform-rsync-like-functionality-in-python-such-as-rsync-py

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!