point-by-point
>As operation to desire
>1 Mirroring of both directions can be performed.
If you mirror both directions, which change takes precedence? example:
Host a, modifies /foo/bar. Host b does as well. you mirror both ways, now, which
version do we have?
>2 File deleted by hostA (hostB)
On 25 Oct 2001, taisaki <[EMAIL PROTECTED]> wrote:
> Good evening
Hello!
> I use d as follows.
> (It is every 5 minutes from Cron)
>
> #!/bin/sh
>
> LOCK=/tmp/lock.pid
>
> if [ ! -e $LOCK ]; then
> echo 1 > $LOCK
> rsync -ave ssh --delete /export/mirror user@hostB:/export
> rs
Good evening
I use d as follows.
(It is every 5 minutes from Cron)
#!/bin/sh
LOCK=/tmp/lock.pid
if [ ! -e $LOCK ]; then
echo 1 > $LOCK
rsync -ave ssh --delete /export/mirror user@hostB:/export
rsync -ave ssh --delete user@hostB:/export/ /export/mirror/
rm > $LOCK
fi
Howeve