Hej,
asjo@koldfront.dk (Adam Sjøgren) writes:
> On Mon, 27 Nov 2006 22:00:29 +0100, Johs wrote:
>
>> Jeg har en tekstfil på min laptop og min stationære harddisk som
>> gerne skulle være identisk. Men nogen gange opdatere jeg den på min
>> laptop og får den så ikke opdateret på min stationære eller vice
>> versa. Findes der en effektiv måde altid at holde denne fil
>> opdateret på? Jeg bruger Ubuntu og har begge mine computere
>> forbundet til en trådløs router.
>
> To ideer:
>
> * Brug rsync (kun praktisk hvis du véd hvilken version er nyest, og
> aldrig retter i begge).
Alternativt unison:
http://www.cis.upenn.edu/~bcpierce/unison/
Description: A file-synchronization tool for Unix and Windows
Unison is a file-synchronization tool for Unix and Windows, written
in OCaml. It allows two replicas of a collection of files and
directories to be stored on different hosts (or different disks
on the same host), modified separately, and then brought up to
date by propagating the changes in each replica to the other.
.
Unison offers several advantages over various synchronization methods
such as CVS, Coda, rsync, Intellisync, etc. Unison can run on and
synchronize between Windows and many UNIX platforms. Unison requires
no root privileges, system access or kernel changes to function. Unison
can synchronize changes to files and directories in both directions,
on the same machine, or across a network using ssh or a direct
socket connection.
.
Transfers are optimised using a version of the rsync protocol,
making it ideal for slower links. Unison has a clear and precise
specification, and is resilient to failure due to its careful
handling of the replicas and its private structures.
/Claus A