At the moment my setup is the following: I have a "file server" machine with the files on it and the laptop connects on each boot via
sshfs to a directory on the fileserver. I work on both machines on those files.
Now I would like to have a physical copy of those files on the laptop, so I can work off site. When the laptop gets back on the network I want it to synchronize the files back to the "fileserver".
While in the network I want both machines to recognize changes in that folder by themself and synchronize them as needed. This setup should delete files that are deleted on either side and synchronize changes.
incron but failed to set it up so that the folder in question is synchronized recursively - seems that incron is unable to do that. I on the other side don't know what subfolders will be created and don't want to reconfigure the system every time I change something.
I tried Dropbox of course, thats basically the effect I want to achieve - but it's limited in file size and online. The file synchronization even in a local network somehow never works without Dropbox being online.
Is there any way to achieve some "cloud like" environment without much configuration?