Synchronisation: Rsync or not?
I was wondering how to synchronise two folders, each of them being on distant machines.
Let say two folders a and b on two computers A and B.
I want that when a user add sumthin' in folder a, this thing is added in b. vice versa
When user delete sumthin' in folder a, this thing is deleted in folder b. vice versa
Some kind of mirroring effect.
T tried to use RSync+ssh with a Script+CronJob
I used Rsync via ssh between two computers but the one where I put the Script lauching the scheduled cron job just "copy" what's in the other. It's like If I was doing a SCP command but I want a "synchronisation", sumthin' working in both ways making both folders identicals.
If u guys got an idea, bless u in advance!