Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 20:37:12 +0800
From:      Stephen Liu <satimis@icare.com.hk>
To:        freebsd@celestial.com, freebsd-questions@freebsd.org
Subject:   Re: Two-way Sync of Directories - how? (rsync?)
Message-ID:  <200403152037.13184.satimis@icare.com.hk>
In-Reply-To: <20040314201032.GA72170@alexis.mi.celestial.com>
References:  <4054B6A3.7080704@stevenfettig.com> <20040314201032.GA72170@alexis.mi.celestial.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 15 March 2004 04:10, Bill Campbell wrote:

> I would do this with two rsync runs from one machine
>
> cd $directory
> rsync -e ssh -vaurP ./ $remote:$directory
> rsync -e ssh -vaurP $remote:$directory/ .

Hi Bill,

Is the option
-P  --partial  -- progress
means 'incremental'    ???

What will be difference between
'./ $remote:$directory'  and  '$remote:$directory/'

TIA

B.R.
Stephen Liu




>
> Better yet, set up the directories in the rsyncd.conf files on
> each machine:
>
> cd $directory
> rsync -vaurP ./ ${remote}::dir_module/
> rsync -vaurP ${remote}::dir_module/ .
>
> Bill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403152037.13184.satimis>