[erlang-questions] rsync-like function in Erlang?

Juan Jose Comellas <>
Tue May 20 15:08:43 CEST 2008


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 wrapper
over Git. This wrapper could also provide a transactional interface to the
filesystem, giving you the ability to rollback to a previous version of the
file in case of a problem.


On Sat, May 17, 2008 at 6:33 PM, Johan Holmberg <> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080520/859e451f/attachment.html>


More information about the erlang-questions mailing list