1. Install unison
sudo apt-get unison
2. Implement a script xx.sh
#!sh
#sync src to target per 5 senconds.
cd /home/myhome
unison src target -repeat 5 -force src
3.nohup sh xx.sh&
1. Install unison
sudo apt-get unison
2. Implement a script xx.sh
#!sh
#sync src to target per 5 senconds.
cd /home/myhome
unison src target -repeat 5 -force src
3.nohup sh xx.sh&