Re: Synchronization Question



The problem you will have is rsync is if you make changes in both
directions - i.e. sometimes you make changes on the thumbdrive and you
need to update the laptop copy, and sometimes you made changes on the
laptop and you want to update the thumb drive copy.

With rsync, you will always have to remember which copy you changed
last, and always update the out-of-date copy before making any changes
to that copy.

If you modify both copies at once without syncing them in-between,
rsync is not able to 'merge' the updates from each into the other.

Unison however can do this merge.

In other words rsync is for uni-directional syncing, unison handles
bi-directional syncing.

On 3/31/06, Mark Johanson <markjohanson@xxxxxxxxxx> wrote:
What would be a good choice to sync 2 directories?

I am taking a class in web coding and I wanted to sync a
directory on a thumbdrive and a directory on my laptop. This way
both are always up to date.

I thought about using rsync but I'm not sure if this would be
the best choice (having never used it before). Would this be a
bit over powered for the simple thing I want to do or is this my
best choice?

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



--
Sean's mailing list bin

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: rsync and ssh port forwarding (2nd try)
    ... I am trying to `rsync -e ssh' with a work machine "B" from my laptop ... I only have direct access from home to work machine "A". ... "B" from my laptop when I use it from home. ...
    (Fedora)
  • problem rsycing with remote dir
    ... I am using the --backup flag in rsync to save ... laptop with my remote server. ... rsync's remote backup scheme, with the --backup flag, is a bit borked. ... University of Notre Dame ...
    (freebsd-questions)
  • Re: laptop sharing home directory with desktop
    ... >> It seems that Unison is the best choice at the moment, ... >> be nice to hear recommendations or advice from people with ... I presume that this is a problem that most laptop ... Or use rsync to do the job for you. ...
    (comp.os.linux.misc)
  • Re: [SLE] Backups & Rsync
    ... I use a script called RSYNC to backup my laptop to any of two other ... Linux boxes here. ... permissions and ownerships intact when I rsync it back to the laptop, ...
    (SuSE)
  • Re: rsync with laptop at different locations
    ... rsync simply starts the whole copying process all over again ... use rsync altogether. ... rsync does not care about the location of the laptop. ...
    (comp.os.linux.networking)