On Wed, 19 Mar 2008 23:53:22 -0700, Jeff Schwab wrote:
> The point of rsync is to keep a local directory tree in sync with a
> remote one, by transferring only change-sets that are conceptually
> similar to patches. If you're only transferring files once, there's no
> particular benefit (AFAIK) t
Jeff Schwab <[EMAIL PROTECTED]> writes:
> I thought os.walk was for locally mounted directories... How is it
> relevant on remote filesystems?
Yes, os.walk is for local directories. I thought you wanted to push a
local tree to a remote host. For pulling, yes, you need to do
something different;
Paul Rubin wrote:
> Jeff Schwab <[EMAIL PROTECTED]> writes:
>> ftping it as a flat file, and untarring it on the other side. Of
>> course, the motivation wasn't just to get the files from point A to
>> point B using Unix (which I already know how to do), but to take
>> advantage of an opportunity
Jeff Schwab <[EMAIL PROTECTED]> writes:
> ftping it as a flat file, and untarring it on the other side. Of
> course, the motivation wasn't just to get the files from point A to
> point B using Unix (which I already know how to do), but to take
> advantage of an opportunity to learn some Python; ne
Gabriel Genellina wrote:
> En Tue, 18 Mar 2008 18:25:28 -0300, Jeff Schwab <[EMAIL PROTECTED]>
> escribió:
>
>> I need to move a directory tree (~9GB) from one machine to another on
>> the same LAN. What's the best (briefest and most portable) way to do
>> this in Python?
>
> See Tools/scripts/
En Tue, 18 Mar 2008 18:25:28 -0300, Jeff Schwab <[EMAIL PROTECTED]>
escribió:
> I need to move a directory tree (~9GB) from one machine to another on
> the same LAN. What's the best (briefest and most portable) way to do
> this in Python?
See Tools/scripts/ftpmirror.py in your Python installat
Jeff Schwab wrote:
> I need to move a directory tree (~9GB) from one machine to another on
> the same LAN. What's the best (briefest and most portable) way to do
> this in Python?
>
> I see that urllib has some support for getting files by FTP, but that it
> has some trouble distinguishing files
Jeff Schwab <[EMAIL PROTECTED]> writes:
> I need to move a directory tree (~9GB) from one machine to another on
> the same LAN. What's the best (briefest and most portable) way to do
> this in Python?
os.popen("rsync ...")
--
http://mail.python.org/mailman/listinfo/python-list
I need to move a directory tree (~9GB) from one machine to another on
the same LAN. What's the best (briefest and most portable) way to do
this in Python?
I see that urllib has some support for getting files by FTP, but that it
has some trouble distinguishing files from directories.
http