option --delete won't delete lame symlinks

2001-06-01 Thread Phil Howard
If there is a lame symlink in the target location, rsync with the --delete option, even with the --ignore-errors option, fails to delete the symlink (the source doesn't have the symlink). How can I get rsync to really delete everything in the target that is not present in the source (respecting -

Re: PATCH: better fix for rsync hang

2001-06-01 Thread Wayne Davison
On Fri, 1 Jun 2001, Dave Dykstra wrote: > This replaces your previous patch, it is not in addition to it, right? Correct. > Were you testing with -W on your local-to-local copy? Yes. As you said, this is the new default for the CVS version, which is what I was testing. > I don't know under wh

Re: Does rsync close open files?

2001-06-01 Thread Dave Dykstra
On Fri, Jun 01, 2001 at 12:02:07PM -0700, Adam McKenna wrote: > On Fri, Jun 01, 2001 at 08:44:18AM -0500, Dave Dykstra wrote: > > There is really no way around that problem with rsync. Many other people > > have tried to do similar things and the wisdom on the mailing list has > > always been tha

Re: Does rsync close open files?

2001-06-01 Thread Adam McKenna
On Fri, Jun 01, 2001 at 08:44:18AM -0500, Dave Dykstra wrote: > There is really no way around that problem with rsync. Many other people > have tried to do similar things and the wisdom on the mailing list has > always been that rsync via cron is the wrong tool for applications that > have data t

Re: use rsync as a diff tool only

2001-06-01 Thread Alberto Accomazzi
In message <[EMAIL PROTECTED]>, Lucy Hou writes: > Hi all, > > I am wondering if I can use rsync as a diff tool only, not really > copying files over to destination. I tried -n option, it doesn't seem to > have done any content comparsion on the file(s), it merely list the file > names. Lucy,

Re: tunneling rsync through ssh

2001-06-01 Thread Dave Dykstra
On Fri, Jun 01, 2001 at 01:52:55PM +0200, thomas graichen wrote: > here is what i get: > > [root@tecklenburg2 /root]# telnet localhost 10873 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > @RSYNCD: 24 > Welcome to the samba.org and PPC/Linux anonymous rsync archives.

Re[2]: Does rsync close open files?

2001-06-01 Thread Rusty Carruth
Dave Dykstra <[EMAIL PROTECTED]> wrote: > On Thu, May 31, 2001 at 03:29:42PM -0700, Adam McKenna wrote: > ... > > > > So, is there any way to have rsync skip certain files, if they are not > > complete? There doesn't appear to be any obvious way to do this. Could > > the rsync process be the re

use rsync as a diff tool only

2001-06-01 Thread Lucy Hou
Hi all, I am wondering if I can use rsync as a diff tool only, not really copying files over to destination. I tried -n option, it doesn't seem to have done any content comparsion on the file(s), it merely list the file names. Thank you. -Lucy Hou

Re: PATCH: better fix for rsync hang

2001-06-01 Thread Dave Dykstra
On Thu, May 31, 2001 at 06:50:01PM -0700, Wayne Davison wrote: > I've been doing some testing where I trigger the rsync hang I talked > about in my previous email (where the redo pipe to the generator process > fills up and causes the receiver to deadlock). This bug is easy to > trigger on a loca

Re: Does rsync close open files?

2001-06-01 Thread Dave Dykstra
On Thu, May 31, 2001 at 03:29:42PM -0700, Adam McKenna wrote: > Background: > > Our web application picks up files from a repository and processes them -- > the repository is accessed by clients using SFTP. There is an rsync script > running once per minute to sync up the client's data on the SF

Re: tunneling rsync through ssh

2001-06-01 Thread thomas graichen
[EMAIL PROTECTED] wrote: > I was taking that same tack... then, I looked again. note: He's on host a, telling >it to ssh to host-b, forwarding port 873 of host-a through the ssh connection to >host-c. > He isn't sshing to the rsync host. He's sshing to a machine that can rsync to >host-c. I