Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > rsync module?

Reply
Thread Tools

rsync module?

 
 
Evan Klitzke
Guest
Posts: n/a
 
      06-22-2007
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.

--
Evan Klitzke <>
 
Reply With Quote
 
 
 
 
kyosohma@gmail.com
Guest
Posts: n/a
 
      06-22-2007
On Jun 21, 7:40 pm, "Evan Klitzke" <e...@yelp.com> wrote:
> 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.
>
> --
> Evan Klitzke <e...@yelp.com>


I found the following doing a quick Google search:

http://www.vdesmedt.com/~vds2212/rsync.html
http://freshmeat.net/projects/pysync/
http://www.nongnu.org/rdiff-backup/

Mike

 
Reply With Quote
 
 
 
 
Jason F. McBrayer
Guest
Posts: n/a
 
      06-22-2007
"Evan Klitzke" <> 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
(http://www.nongnu.org/duplicity/) provides python bindings for
librsync for its own use. You could pull those in to your project.

--
+-----------------------------------------------------------+
| Jason F. McBrayer |
| 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 |
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
supplying password to subprocess.call('rsync ...'), os.system('rsync ...') timw.google Python 8 10-09-2007 03:06 PM
rsync and network file transfer speeds Joshua Jung Java 2 06-30-2006 08:08 PM
Starting rsync via ASP.Net M_at ASP .Net 1 03-28-2006 01:48 PM
rsync protocol in python David Bear Python 1 06-27-2005 09:45 PM
Doing readline in a thread from a popen4('rsync ...') stream blocks when the stream ends. Rasmusson, Lars Python 1 04-30-2004 08:10 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57