RE: Changes made to main.c on implementing real time Rsync

2010-11-11 Thread Steven Xu
Hi, Benjarmin and Wayne Thanks. Wayne solutions works. It's my mistake. Steven. -Original Message- From: Benjamin R. Haskell [mailto:rs...@benizi.com] Sent: Thursday, November 11, 2010 11:41 AM To: Steven Xu Cc: Wayne Davison; rsync@lists.samba.org Subject: RE: Changes made to m

RE: Changes made to main.c on implementing real time Rsync

2010-11-11 Thread Benjamin R. Haskell
On Thu, 11 Nov 2010, Steven Xu wrote: Hi, Wayne, Thanks for your reply. I just did a test: Here is the Rsync client output: C:\Program Files (x86)\cwRsync\bin\rsync" -av "/cygdrive/e/fileserver/Worksheets/reconcil/./Fiducie Desjardins/Dailies/cl0016062moveq20101110.txt"   "lba023::Rsync/"

RE: Changes made to main.c on implementing real time Rsync

2010-11-11 Thread Steven Xu
Thanks. Steven From: 4way...@gmail.com [mailto:4way...@gmail.com] On Behalf Of Wayne Davison Sent: Tuesday, November 09, 2010 4:48 PM To: Steven Xu Cc: rsync@lists.samba.org Subject: Re: Changes made to main.c on implementing real time Rsync On Tue, Nov 9, 2010 at 11:04 AM, Steve

Re: Changes made to main.c on implementing real time Rsync

2010-11-10 Thread Wayne Davison
On Wed, Nov 10, 2010 at 6:37 AM, Steven Xu wrote: > Your solution is good but not fit my case. If there are a lot of files > or folders under l1, rsync -avR source/./l1/l2/l3/abc.txt dest::Worksheets/ > will check all the files and folders under l1. > What makes you think that? It just tran

RE: Changes made to main.c on implementing real time Rsync

2010-11-10 Thread Steven Xu
. Thanks, Steven. From: 4way...@gmail.com [mailto:4way...@gmail.com] On Behalf Of Wayne Davison Sent: Tuesday, November 09, 2010 4:48 PM To: Steven Xu Cc: rsync@lists.samba.org Subject: Re: Changes made to main.c on implementing real time Rsync On Tue, Nov 9, 2010 at 11:04

Re: Changes made to main.c on implementing real time Rsync

2010-11-09 Thread Wayne Davison
On Tue, Nov 9, 2010 at 11:04 AM, Steven Xu wrote: > Example "rsync -av source/l1/l2/l3/abc.txt dest::Worksheets/l1/l2/l3/" > Do this instead: rsync -avR source/./l1/l2/l3/abc.txt dest::Worksheets/ The use -f -R (--relative) along with the /./ path element to signal how much of the source p