rsync module?

Jason F. McBrayer jmcbray at
Fri Jun 22 22:53:07 CEST 2007

"Evan Klitzke" <evan at> writes:

> Are there any python modules for accessing rsync from python? I would
> like to be able to rsync files from a python script to a remote server
> running an rsync daemon. I'm well aware that I can invoke rsync using
> subprocess, os.system, etc., but I am curious if there is a way to do
> it directly.

I'm not aware of a standalone rsync module for Python, but duplicity
( provides python bindings for
librsync for its own use.  You could pull those in to your project.

| Jason F. McBrayer                    jmcbray at  |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all conquerors.  --- The Dhammapada    |

More information about the Python-list mailing list