I want some tool like
$ mirroring_mount ~/first_location ~/second_location ~/mount_point
So, when I edit file in
~/mount_point, it is edited in both locations, and if
~/second_location are not identical, I get an error. Is there such a tool?
Why I want it:
second_location are folders in clouds, that are mounted to fs. I do not trust clouds, as I think that they can fail some day, or erase some of my files, that's why I want to mirror them. Even better would be if I could not only mirror clouds, but do something like RAID 5 on 3 clouds.
update. My access to clouds is limited to file operations. All I have is just a folder in google.drive, which is mounted using davfs.