Two-way Sync of Directories - how? (rsync?)
Stephen Liu
satimis at icare.com.hk
Sun Mar 14 19:27:44 PST 2004
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
More information about the freebsd-questions
mailing list