projects
/
cloudstore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c80fcc0
)
simple push once rsync client
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 7 Sep 2011 18:31:37 +0000
(20:31 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 7 Sep 2011 18:31:37 +0000
(20:31 +0200)
client/cs-push.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/client/cs-push.sh
b/client/cs-push.sh
new file mode 100755
(executable)
index 0000000..
5802eaf
--- /dev/null
+++ b/
client/cs-push.sh
@@ -0,0
+1,6
@@
+#!/bin/sh -xe
+
+#inotifywait -m -r --format '%:e %f' Dropbox/
+#pwd > .pwd
+RSYNC_PASSWORD=secret rsync "$@" .pwd rsync://dpavlin@10.60.0.244:6501/dpavlin/`hostname`/copy
+#rm .pwd