[erlang-questions] rsync-like function in Erlang?
Juan Jose Comellas
Wed May 21 17:00:00 CEST 2008
The problem is that if you use Subversion you lose the ability to easily
merge changes made across different servers. In my case this won't happen
very often, but I do need to have the option of doing it when two servers
"sharing" the same filesystem can't see each other and have to perform
simultaneous changes on the same files.
Git works on Windows, but not as good as it does on Linux. My problem, for
the time being, is restricted to Linux so it is not a problem.
On Tue, May 20, 2008 at 5:45 PM, Johan Holmberg <> wrote:
> 2008/5/20 Juan Jose Comellas <>:
> > Have you thought about using a distributed version control system such as
> > Git for this? I have the same problem, with the added need to track the
> > history of changes of each file, and I'm planning to build an Erlang
> > over Git. This wrapper could also provide a transactional interface to
> > filesystem, giving you the ability to rollback to a previous version of
> > file in case of a problem.
> Interesting idea. I have thought about using Subversion (the version
> control system we normally use), but dismissed it as to complicated
> (with the need for a third machine, the Subversion-server, and with
> all the space overhead in the local .svn directories).
> Does Git work well on Windows? And can it operate in client-server
> fashion, or does it need filesystem access between the machines?
> Your kind of solution could perhaps suit me too, even if I'm not
> primarily interested in the change history.
> /Johan Holmberg
> > On Sat, May 17, 2008 at 6:33 PM, Johan Holmberg <>
> >> Hi!
> >> I have a number of Erlang-nodes running on different physical
> >> machines. I want each node to have a local copy of the same directory
> >> tree. Is there any existing Erlang-library that can do this?
> >> The erlang nodes I use can be on either Linux or Windows.
> >> I don't need an actual "rsync clone", just something that can make
> >> sure two directory trees on different machines stay in sync. And I
> >> would prefer that small changes to one of the trees were detected fast
> >> (like in rsync(1) or unison(1)).
> >> I realize that one solution would be to build some kind of wrapper in
> >> Erlang around rsync(1) or unison(1) (maybe such a thing already
> >> exist?) But I would prefer a pure Erlang solution if possible.
> >> /Johan Holmberg
> >> _______________________________________________
> >> erlang-questions mailing list
> >> http://www.erlang.org/mailman/listinfo/erlang-questions
> > _______________________________________________
> > erlang-questions mailing list
> > http://www.erlang.org/mailman/listinfo/erlang-questions
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions