lsyncd client
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 7 Sep 2011 19:01:25 +0000 (21:01 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 7 Sep 2011 19:01:25 +0000 (21:01 +0200)
client/lsyncd-push.sh [new file with mode: 0755]

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