lsyncd client
[cloudstore.git] / client / lsyncd-push.sh
diff --git a/client/lsyncd-push.sh b/client/lsyncd-push.sh
new file mode 100755 (executable)
index 0000000..9e68a21
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh -ex
+
+from=/tmp/test
+
+RSYNC_PASSWORD=secret lsyncd -log all -nodaemon -rsync $from rsync://dpavlin@10.60.0.244:6501/dpavlin/`hostname`/$from