简体   繁体   English

在python中寻找类似rsync的跨平台功能,例如rsync.py

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

I am implementing backup scripts in python. 我在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 我听说有一个基于python的rsync实现: 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? 有谁知道我在哪里可以找到rsync.py程序?

At the moment I am using unison for Windows but I would like to try rsync.py 目前我正在使用Windows的unison,但我想尝试rsync.py

Alternative : pysync - implementation of the rsync and related algorithms in pure Python, and a high speed librsync Python extension 替代方案: pysync - 在纯Python中实现rsync和相关算法,以及高速librsync Python扩展

Another alternative: http://code.google.com/p/pyrsync/ 另一种选择: http//code.google.com/p/pyrsync/

Here is the algorythm (not sure if it helps you out): 这是algorythm(不确定它是否可以帮助你):

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

I know that rdiff-backup is written in python and use an rsync-like algorithm. 我知道rdiff-backup是用python编写的,并且使用类似rsync的算法。 It use librsync . 它使用librsync Note that rdiff-backup is not a replacement for rsync, so it will not fill your needs. 请注意,rdiff-backup不是rsync的替代品,因此无法满足您的需求。 But you can take a look at librsync and see how rdiff-backup use it. 但是你可以看看librsync并看看rdiff-backup如何使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM