A
A
AkifPetrov2018-09-27 10:26:58
linux
AkifPetrov, 2018-09-27 10:26:58

How to organize real-time synchronization of files in both directions?

Hey!
There is a server on centos, which hosts many sites that are periodically updated.
And there is a workstation on mac os.
Prompt any decision for synchronization of files of these sites between the workstation and the server.
Need automatic real-time synchronization in both directions.
That is, if I fix the file at home, it is immediately uploaded to the server.
And if someone fixes a file on the server, its updated version is instantly downloaded to my computer.
Now sites are edited via sftp, which is very inconvenient.
Git can't be used.
Mounting a remote directory is too slow and the atom/sublime/vscode editors are buggy

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Golobokov, 2018-09-27
@AVG75

lsyncd look
under Mac OS, there is also a package

R
Ruslan Fedoseev, 2018-09-27
@martin74ua

Change the logic of work. All the same, go to git and change files in one place. Although with a git it will not be so scary)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question