rsync for the cloud
usage: directory=/tmp/foo go run replicat
Start Replicat with my custom key
-
Ray: replicat --clusterKey aa88aa88aa88 --directory /tmp/foo
-
Jacob: replicat --clusterKey aa88aa88aa88 --directory /tmp/foo (this uses machine's hostname:port as the name)
-
James: replicat --clusterKey aa88aa88aa88 --directory /tmp/foo
// Instances are using tmp folder for testing. Switch to a permanant folder for production or long term use.