problem with --delete if I sync part of a dir

2002-01-15 Thread Palmans Pepijn
Hi, I'm using rsync for a couple of things but I am at a point where I could not find a solution for my problem. this is what I want to do: rsync only the files i_* from a directory from machine A to machine Bi and delete them from machine B if they on longer exist on machine A. so I use

Re: rsynd-2.5.1 / batch.c patch

2002-01-15 Thread Martin Pool
These all look fine, but somewhere along the line they got mangled so that they won't apply properly. Would you mind please sending them to me as an attachment or something? (Yes, I'm lazy ;-) -- Martin

Re: problem with --delete if I sync part of a dir

2002-01-15 Thread Dave Dykstra
On Tue, Jan 15, 2002 at 10:01:59AM +0100, Palmans Pepijn wrote: Hi, I'm using rsync for a couple of things but I am at a point where I could not find a solution for my problem. this is what I want to do: rsync only the files i_* from a directory from machine A to machine Bi and delete

Re: Stable Rsync System Call!

2002-01-15 Thread Dave Dykstra
On Mon, Jan 14, 2002 at 02:35:53PM -0500, David L Nickel wrote: Next week are going to start using rsync live to mirror our primary and secondary web servers. I am still trying to iron out a couple of bugs, any help would be much apprecitated. Here is my rsync.conf file on my primary web

Re: problem with --delete if I sync part of a dir

2002-01-15 Thread tim . conway
check this out: echo rsync -azv --stats -e ssh --delete i_* user@host:/dir/. it expands to sync -azv --stats -e ssh --delete all existing i_* files user@host:/dir/ It won't mention the ones that are gone. rsync the directory/. including i_* and excluding * (the order matters). rsync -azv

Re: rsync-2.5.1 / socket.c - unititialized variable breaks build.

2002-01-15 Thread Dave Dykstra
It looks like Martin just put this fix into CVS because he turned on -Wall on gcc and noticed a warning message. - Dave Dykstra On Mon, Jan 07, 2002 at 09:34:27PM -0600, John Malmberg wrote: Probably, but that just means that there was an addtional bug in the original code. At this phase,

Re: Where can I download the latest and greatest rsync Win32 binary?

2002-01-15 Thread tim . conway
From www.cygwin.com (did you even look there?). ftp://mirrors.rcn.net/pub/sourceware/cygwin/contrib/rsync/rsync-2.5.1-2.tar.bz2 Tim Conway [EMAIL PROTECTED] 303.682.4917 Philips Semiconductor - Longmont TC 1880 Industrial Circle, Suite D Longmont, CO 80501 Available via SameTime Connect within

Re: batch mode maintainability

2002-01-15 Thread Dave Dykstra
On Tue, Jan 15, 2002 at 08:55:24PM +1100, Martin Pool wrote: I'm having second thoughts about merging the rsync+ / batch mode patch into the main rsync release. It adds a lot of extra paths to the code. I can see it will be useful for a few people, but I'm not sure it's sufficiently general

Re: Where can I download the latest and greatest rsync Win32 binary?

2002-01-15 Thread Carlos Gutierrez
Thanks. From www.cygwin.com (did you even look there?). Yes I did, but couldn't find it, and I didn't want to do a full cygwin install (I did that two years ago, debugged and solved a problem with rsync running on netware volumes). At that time there were people offering their win32 binaries

SSH Error

2002-01-15 Thread David L Nickel
I created a user on the machine I am attempting to mirror. I when I run rsync with this user I get the following errors receiving file list ... link_stat www : No such file or directory done client: nothing to do: perhaps you need to specify some filenames or the --recursive option? rsync

--whole-file option was accidentally changed to --whole

2002-01-15 Thread Dave Dykstra
Aack, I just noticed that the --whole-file option was accidentally changed to --whole when the option parsing mechanism was switched to popt before rsync 2.5.0. I just put a fix into the rsync CVS, but anybody who wants that option to work with all versions of rsync is going to have to use -W

Re: Where can I download the latest and greatest rsync Win32 binary?

2002-01-15 Thread David Starks-Browning
On Tuesday 15 Jan 02, Carlos Gutierrez writes: ftp://mirrors.rcn.net/pub/sourceware/cygwin/contrib/rsync/rsync-2.5.1-2.tar. bz2 Thanks for the direct link. In case anybody needs it, here is a ZIP with rsync and cygwin dll. http://www.sca.com.mx/ftp/rsync.2.5.1-2.zip *Sigh* Please don't do

Re: SSH Error

2002-01-15 Thread tim . conway
Ok, you're talking about ssh, and you're talking about a rsyncd. Except in rare cases, you don't use ssh to access rsyncd. I'm guessing you're doing something like rsync -e ssh remotehost:www localdestinationdirectory (-e ssh isn't needed if $RSYNC_SSH=ssh). drop the -e ssh and use TWO

Re: Where can I download the latest and greatest rsync Win32 binary?

2002-01-15 Thread tim . conway
It sounded like he had a working installation already, and just needed to add rsync to it. I did mine by compiling it in (though i wonder if the one you supply might not have that annoying conection reset by peer error or whatever it was). I tried rerunning setup once, just checking the

Re: --whole-file option was accidentally changed to --whole

2002-01-15 Thread Martin Pool
Good catch. Tridge suggested the other day that it's bad to make -W the default for local transfers, because it makes behaviour kind of less reproducible: people who test rsync locally will see possibly different bugs when running it over the network. I'm inclined to agree, but I'm not sure.