Re: Why am I unable to using rsync to install modules and appear to have to use pip install instead?

2021-02-10 Thread Robert Nicholson
vered was that if I install the cryptography module in my dev / >> uat and then tried to synchronize to production server using rsync I ended >> up with errors relating to dependencies of the cryptography module. >> >> Specifically >> >> Cannot import name ‘_

Re: Why am I unable to using rsync to install modules and appear to have to use pip install instead?

2021-02-10 Thread Robert Nicholson
python release using anonconda. > > What I discovered was that if I install the cryptography module in my dev / > uat and then tried to synchronize to production server using rsync I ended up > with errors relating to dependencies of the cryptography module. > > Specifically

Why am I unable to using rsync to install modules and appear to have to use pip install instead?

2021-02-10 Thread Robert Nicholson
I’m using Python 3.7.0 so I have multiple environments all on the same architecture with the same python release using anonconda. What I discovered was that if I install the cryptography module in my dev / uat and then tried to synchronize to production server using rsync I ended up with

How to show and parse rsync progress in Python/Django?

2012-11-28 Thread sachit . technerves
I am using the development version of rsync with --info-progress option. I am writing a python program which transfer files from server to local computer using rsync: finalresult = subprocess.Popen(['sshpass', '-p', password, 'rsync', '-avz', '--info

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

2010-06-15 Thread Ben Finney
hiral writes: > Is there any module/utility like 'rsync' in python. Your first port of call for such queries should be PyPI http://pypi.python.org/>, using its search feature. In this case, the first several hits address your question. -- \ “I lo

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

2010-06-15 Thread Paul Rudin
Jonathan Fine writes: > hiral wrote: >> Hi, >> >> Is there any module/utility like 'rsync' in python. >> >> Thank you in advance. > > Not exactly what you asked for, but Mercurial provides a Python > interface. You might find this URL a go

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

2010-06-15 Thread Jonathan Fine
hiral wrote: Hi, Is there any module/utility like 'rsync' in python. Thank you in advance. 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 -- Jonath

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

2010-04-22 Thread Aahz
In article <4bbecc4e$0$8850$c3e8...@news.astraweb.com>, Steven D'Aprano wrote: >On Thu, 08 Apr 2010 23:22:46 -0700, hiral wrote: >> >> Is there any module/utility like 'rsync' in python. > >http://code.activestate.com/recipes/577022-rsync-algorithm-in-p

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

2010-04-08 Thread Steven D'Aprano
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&

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

2010-04-08 Thread garabik-news-2005-05
hiral 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.

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

2010-04-08 Thread hiral
Hi, Is there any module/utility like 'rsync' in python. Thank you in advance. -Hiral -- http://mail.python.org/mailman/listinfo/python-list

Re: Automate rsync w/ authentication

2009-07-13 Thread Piet van Oostrum
y/keys/brybackup.key' >>> args = [rsyncExec, '-a', '-v', '--dry-run', '-e', rshArg, source, dest] >>> >>> or: >>> >>> rshArgs = [ '-e', '/usr/bin/ssh -i /home/bry/keys/brybackup.key' ] >>> args = [rsyncExec, '-a

Re: Automate rsync w/ authentication

2009-07-13 Thread Bryan
n/ssh -i /home/bry/keys/brybackup.key' ] > args = [rsyncExec, '-a', '-v', '--dry-run'] +  rshArgs + [ source, dest] > >                                         Gary Duzan >                                         Motorola H&NM Separating the argument p

Re: Automate rsync w/ authentication

2009-07-11 Thread Gary Duzan
In article <3af970b1-b454-4d56-a33f-889ecfaca...@l28g2000vba.googlegroups.com>, Bryan wrote: > >rsyncExec = '/usr/bin/ssh' >source = 'r...@10.0.45.67:/home/bry/jquery.lookup' >dest = '/home/bry/tmp' >rshArg = '-e "/usr/bin/ssh -i /home/bry/keys/brybackup.key"' >args = [rsyncExec, '-a', '-v', '--d

Re: Automate rsync w/ authentication

2009-07-10 Thread Piet van Oostrum
system. ---- #! /usr/bin/env python from subprocess import Popen, PIPE rsyncExec = '/usr/local/bin/rsync' source = 'xxx.cs.uu.nl:/users/piet/yy' dest = '/Users/piet/TEMP/test.rsync' rshArg = &#

Re: Automate rsync w/ authentication

2009-07-10 Thread Bryan
On Jul 10, 12:43 pm, Piet van Oostrum wrote: > >>>>> Chris Rebert (CR) wrote: > >CR> On Fri, Jul 10, 2009 at 9:13 AM, Bryan wrote: > >>> I am trying to automate rsync to backup server A from server B.  I > >>> have set up a private/public k

Re: Automate rsync w/ authentication

2009-07-10 Thread Chris Rebert
On Fri, Jul 10, 2009 at 12:43 PM, Piet van Oostrum wrote: >>>>>> Chris Rebert (CR) wrote: > >>CR> On Fri, Jul 10, 2009 at 9:13 AM, Bryan wrote: >>>> I am trying to automate rsync to backup server A from server B.  I >>>> have set up a

Re: Automate rsync w/ authentication

2009-07-10 Thread Piet van Oostrum
>>>>> Chris Rebert (CR) wrote: >CR> On Fri, Jul 10, 2009 at 9:13 AM, Bryan wrote: >>> I am trying to automate rsync to backup server A from server B.  I >>> have set up a private/public key between the two servers so I don't >>> have to enter

Re: Automate rsync w/ authentication

2009-07-10 Thread Chris Rebert
On Fri, Jul 10, 2009 at 9:13 AM, Bryan wrote: > I am trying to automate rsync to backup server A from server B.  I > have set up a private/public key between the two servers so I don't > have to enter a password when using rsync.  Running rsync manually > with the following c

Automate rsync w/ authentication

2009-07-10 Thread Bryan
I am trying to automate rsync to backup server A from server B. I have set up a private/public key between the two servers so I don't have to enter a password when using rsync. Running rsync manually with the following command works fine: rsync -av --dry-run -e "/usr/bin/ssh -i /hom

Rsync

2008-02-19 Thread Felipe Coutinho
Is there any thing in python that synchronize directories like rsync? -- Felipe Leal Coutinho -- http://mail.python.org/mailman/listinfo/python-list

Re: supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-09 Thread timw.google
On Oct 7, 1:01 pm, Michael Torrie <[EMAIL PROTECTED]> wrote: > timw.google wrote: > > Hi > > > I want to write a python script that runs rsync on a given directory > > and host. I build the command line string, but when I try to run > > subprocess.call(cmd), o

Re: supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-07 Thread Nicholas Bastin
On 05 Oct 2007 16:23:50 GMT, Stargaming <[EMAIL PROTECTED]> wrote: > On Fri, 05 Oct 2007 08:37:05 -0700, timw.google wrote: > >> I can't ssh w/o supplying a password. That's the way the security is > >> set up here. > >> > >> How do I use python to do this, or do I just have to write a zsh > >> scr

Re: supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-07 Thread Michael Torrie
timw.google wrote: > Hi > > I want to write a python script that runs rsync on a given directory > and host. I build the command line string, but when I try to run > subprocess.call(cmd), or p=subprocess.Popen(cmd, shell=True),or > os.system(cmd), I get prompted for my login pa

Re: supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-07 Thread David
Typo. > Another method is to setup an ssh service on the server (perhaps in Should be: > Another method is to setup an rsync service on the server (perhaps in -- http://mail.python.org/mailman/listinfo/python-list

Re: supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-07 Thread David
On 10/5/07, timw.google <[EMAIL PROTECTED]> wrote: > Hi > > I want to write a python script that runs rsync on a given directory > and host. I build the command line string, but when I try to run > subprocess.call(cmd), or p=subprocess.Popen(cmd, shell=True),or > os.system(

Re: supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-06 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, timw.google wrote: > I want to write a python script that runs rsync on a given directory > and host. I build the command line string, but when I try to run > subprocess.call(cmd), or p=subprocess.Popen(cmd, shell=True),or > os.system(cmd), I g

Re: supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-05 Thread Stargaming
On Fri, 05 Oct 2007 08:37:05 -0700, timw.google wrote: > On Oct 5, 10:33 am, "timw.google" <[EMAIL PROTECTED]> wrote: >> Hi >> >> I want to write a python script that runs rsync on a given directory >> and host. I build the command line string, but when

Re: supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-05 Thread timw.google
On Oct 5, 10:33 am, "timw.google" <[EMAIL PROTECTED]> wrote: > Hi > > I want to write a python script that runs rsync on a given directory > and host. I build the command line string, but when I try to run > subprocess.call(cmd), or p=subprocess.Popen(cmd, shell=T

supplying password to subprocess.call('rsync ...'), os.system('rsync ...')

2007-10-05 Thread timw.google
Hi I want to write a python script that runs rsync on a given directory and host. I build the command line string, but when I try to run subprocess.call(cmd), or p=subprocess.Popen(cmd, shell=True),or os.system(cmd), I get prompted for my login password. I expected this, but when I try to give my

Re: rsync module?

2007-06-23 Thread Jason F. McBrayer
"Evan Klitzke" <[EMAIL PROTECTED]> 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 > s

Re: rsync module?

2007-06-22 Thread kyosohma
On Jun 21, 7:40 pm, "Evan Klitzke" <[EMAIL PROTECTED]> 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 i

rsync module?

2007-06-21 Thread Evan Klitzke
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 dir

RE: rsync for python?

2006-12-28 Thread Mark Schoonover
nienfeng wrote: > Hi, everyone > > I want to build rsync server that can run in linux and windows, > and configure by python. So I'm looking for something like rsync for > python. I find rsync.py and pysync. But rsync.py looks like a > client mode, > it can&

Re: rsync for python?

2006-12-22 Thread Caleb Hattingh
> I want to build rsync server that can run in linux and windows, and > configure by python. So I'm looking for something like rsync for python. > I find rsync.py and pysync. But rsync.py looks like a client mode, > it can't be a rsync server, is it? Can pysync

Re: rsync for python?

2006-12-21 Thread sam1
nienfeng wrote: > Hi, everyone > >I want to build rsync server that can run in linux and windows, and > configure by python. So I'm looking for something like rsync for python. >I find rsync.py and pysync. But rsync.py looks like a client mode, it > can't b

Re: rsync for python?

2006-12-21 Thread Laszlo Nagy
nienfeng írta: > Hi, everyone > > I want to build rsync server that can run in linux and windows, and > configure by python. So I'm looking for something like rsync for python. > I find rsync.py and pysync. But rsync.py looks like a client mode, > it can't b

rsync for python?

2006-12-20 Thread nienfeng
Hi, everyone I want to build rsync server that can run in linux and windows, and configure by python. So I'm looking for something like rsync for python. I find rsync.py and pysync. But rsync.py looks like a client mode, it can't be a rsync server, is it? Can pysync be a rs

subprocess freeze with rsync on windows

2006-04-07 Thread William Dode
Hi, I try to call rsync (with ssh) with subprocess but _some times_ it freeze without traceback, without any reason. My code look like that : def sh(self,cmd): log.debug("S cmd: " + " ".join(cmd)) p = Popen(cmd, stdout = PIPE, stderr = PIPE)

Re: rsync protocol in python

2005-06-27 Thread Robert Kern
David Bear wrote: > I was wondering if anyone has implemented the rsync protocol in python. GIYF. http://directory.fsf.org/pysync.html -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Har

rsync protocol in python

2005-06-27 Thread David Bear
I was wondering if anyone has implemented the rsync protocol in python. -- David Bear -- let me buy your intellectual property, I want to own your thoughts -- -- http://mail.python.org/mailman/listinfo/python-list