Adding a file size limit option to rsync

2004-10-07 Thread Robert Clark
Hi, I hacked rsync version 2.6.0 to support a file size limit. I did this, because I could not find a way to do this with the existing rsync options. I've been receiving the rsync digest for several months, and habe not seen mention of this type of feature., This allows rsync to 'prune' out LARGE

Re: Re: rsync 2.6.3 hang (was rsync 2.6.2 crash)

2004-10-07 Thread Wayne Davison
On Thu, Oct 07, 2004 at 10:32:34AM -0700, jim wrote: > If I comment that out, how will that affect a remote sync? It wont affect it at all, since socketpair() is only used to communicate locally (don't confuse socketpair() with socket()). ..wayne.. -- To unsubscribe or change options: http://lis

Re: Re: rsync 2.6.3 hang (was rsync 2.6.2 crash)

2004-10-07 Thread jim
Right. This is the command that hangs for a local sync: rsync -Pvvvtr --delete /cygdrive/f/ /cygdrive/e It hangs at different places, sometimes during the file list generation, sometimes during the copying. It's very similar to what I saw doing remote syncing. I double checked that file contents

Re: Rsync && ssh && passwordless

2004-10-07 Thread Wayne Davison
On Thu, Oct 07, 2004 at 11:18:03AM -0600, Ryan Sommers wrote: > After sending the first mail I was able to get it to work by adding > '-e ssh' to the command line and changing '[EMAIL PROTECTED]:/path/to/stuff' to > '[EMAIL PROTECTED]::module'. Yes, that is the other choice if you want to restrict

Re: Rsync && ssh && passwordless

2004-10-07 Thread Ryan Sommers
Wayne Davison said: > On Thu, Oct 07, 2004 at 10:20:34AM -0600, Ryan Sommers wrote: >> Edited authorized_keys on M adding 'command="sudo /usr/local/bin/rsync >> --server --daemon ."' > > You can't start an rsync daemon and then attempt to do a non-daemon > transfer. Get rid of the "command" settin

Re: rsync 2.6.3 hang (was rsync 2.6.2 crash)

2004-10-07 Thread Wayne Davison
When you say that a local copy hangs, I'm assuming you're not using the host: name for the local machine or "localhost:", right? If HAVE_SOCKETPAIR is defined in config.h, I'd suggest commenting it out, recompiling, and trying the local copying again -- perhaps having rsync use pipes instead of so

rsync 2.6.3 hang (was rsync 2.6.2 crash)

2004-10-07 Thread jim
Thanks for the suggestions for different tunneling tools. This really only helps with half my problem- I need to sync local dirs, too. I'm guessing that this is really a cygwin problem in select(), but I'm not a good enough programmer to dig into it. I've got a local guru looking at it, but I th

Re: Rsync && ssh && passwordless

2004-10-07 Thread Wayne Davison
On Thu, Oct 07, 2004 at 10:20:34AM -0600, Ryan Sommers wrote: > Edited authorized_keys on M adding 'command="sudo /usr/local/bin/rsync > --server --daemon ."' You can't start an rsync daemon and then attempt to do a non-daemon transfer. Get rid of the "command" setting above and tell rsync to run

Rsync && ssh && passwordless

2004-10-07 Thread Ryan Sommers
I'm attempting to setup rsync to do backups of a remote system. I'd like to make it passwordless. The trouble I'm running into is I run sshd with PermitRootLogin Off for obvious security reasons. This means that I can't use rsync over ssh to the root user. Instead what I thought of was sshing to th

lin >> win rsync always hangs

2004-10-07 Thread jeremy
Sorry of this topic has already been discussed, but here goes. Running rsync from my linux box to windows, rsync always hangs after it recieves the files list. It may sync one or two files, but that's it. I've seen it posted that the problems lay in the file size, but I seem to be having the issue

Re: Keep Alive packets

2004-10-07 Thread Wayne Davison
On Thu, Oct 07, 2004 at 06:55:19AM +0200, Pieter De Wit wrote: > Would it be posiable to add a "keep alive" option to rsync. This would be a good suggestion to add to the bug database: https://bugzilla.samba.org/enter_bug.cgi?product=rsync If you don't want to sign-up for bugzilla to do that, I'

problem syncing more then 816ish files

2004-10-07 Thread Henson, George Mr JMLFDC
Title: problem syncing more then 816ish files All, I am trying to fetch files from a remote machines (W2K - rsync 2.6.3) to my local system (HPUX 11i - rsync 2.6.3). On the remote machine I made a folder /rsync/files and placed 816 files empty in there. (I am using empty file to help in de

Licensed Office Application. Licensed Operating System. Other Licensed Application. 680 (rsync@lists.samba.org)

2004-10-07 Thread aris
http://GOYZoC.jlfbkmne.info/?R4TWTlSvqVYKDllixfqhT -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Keep Alive packets

2004-10-07 Thread John Van Essen
On Thu, 07 Oct 2004, Pieter De Wit <[EMAIL PROTECTED]> wrote: > Hello Everyone, > > Would it be posiable to add a "keep alive" option to rsync. The problem > I am having is that the connection is dropped while rsync is scanning > the local directory. If "null" packets are send to the server every

Re: rsync 2.6.3 hang (was rsync 2.6.2 crash)

2004-10-07 Thread tevfik
Hi, SSH-tunneling instead of built-in rsync ssh-capability works also quite well. Have a look at http://www.itefix.no/phpws/index.php?module=faq&FAQ_op=view&FAQ_id=26 for an example. Rgrds Tev > > "jim" writes: > > > > > Thanks for the additional info. > > > > > > I actually have tried the

Re: rsync 2.6.3 hang (was rsync 2.6.2 crash)

2004-10-07 Thread Paul Arch
> "jim" writes: > > > Thanks for the additional info. > > > > I actually have tried the --no-blocking-io option, but the sync > > still hung. > > > > Since no one on Unix-like platforms are reporting an issue, do you > > think it may be something in the Cygwin compatibility layer? > >