public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: ralfconn <mentadent47@yahoo.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to synchronise between 2 locations
Date: Thu, 28 Mar 2024 17:33:43 +0100	[thread overview]
Message-ID: <2d3870ae-5055-4b17-84f3-c3b6643d0dd6@yahoo.com> (raw)
In-Reply-To: <2333770.ElGaqSPkdT@persephone>

Il 28/03/24 07:30, J. Roeleveld ha scritto:
>> Unison creates a local index of all files it syncronised. So when you move a
>> file around on one end, Unison will notice that because the file at the new
>> location has the same hash as the file at the old location. As a result, it
>> does not transmit the file anew to the remote host, but instead copies it
>> locally on the remote host.
>>
>> Since Unison uses ssh underneath, you can use ssh’s transparent compression
>> to speed up the transfer.
> Unison sounds interesting. How does it handle conflicts (eg, file is changed on
> both sides?)
>
I use Unison GUI on one of the two machines (on the other peer it's just 
a program invoked from the ssh). When the analysis is complete, the GUI 
shows what it would do to sync the machines, indicating the conflicts 
and giving you the chance to choose what to do.

I believe it can be used from the command line or maybe even in batch 
mode instead of GUI but I never did it that way.

raffaele



  reply	other threads:[~2024-03-28 16:33 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-27 18:58 [gentoo-user] How to synchronise between 2 locations J. Roeleveld
2024-03-27 19:08 ` Mark Knecht
2024-03-28  6:28   ` J. Roeleveld
2024-03-28 13:51   ` [gentoo-user] " Grant Edwards
2024-03-28 15:27     ` J. Roeleveld
2024-03-27 19:18 ` [gentoo-user] " ralfconn
2024-03-27 19:37   ` Frank Steinmetzger
2024-03-28  0:08     ` Alarig Le Lay
2024-03-29 11:24       ` Frank Steinmetzger
2024-03-28  6:30     ` J. Roeleveld
2024-03-28 16:33       ` ralfconn [this message]
2024-03-29 11:27         ` Frank Steinmetzger
2024-03-27 19:42 ` Matt Connell
2024-03-27 19:54   ` Frank Steinmetzger
2024-03-27 19:59     ` Matt Connell
2024-03-27 21:34       ` Frank Steinmetzger
2024-03-27 20:12     ` tastytea
2024-03-28  6:32     ` J. Roeleveld
2024-03-28 10:00       ` tastytea
2024-03-29  2:26 ` Grant Taylor
2024-03-29 11:32   ` Frank Steinmetzger
2024-03-29 13:32 ` J. Roeleveld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2d3870ae-5055-4b17-84f3-c3b6643d0dd6@yahoo.com \
    --to=mentadent47@yahoo.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox