I would like to sync two paths on demand (not automatically) on two CentOS servers.
The goal is to send files from server A to server B if they are different.
It's about 1 gig of data in text files (so a lot of small files (.js, .php, etc.). Do I need to use something like md5deep
on both servers and compare the differences on every run or is there a smarter way to do this?
(I don't mind if the first run is for example slow and becomes faster after a first index, but I have no clue if something like that exists)