use env.sh config
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 12 Oct 2011 15:37:01 +0000 (17:37 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 12 Oct 2011 15:37:01 +0000 (17:37 +0200)
client/rsync-push.sh

index 61e0033..d3ec405 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/sh -xe
 
+. ./env.sh
 #inotifywait -m -r --format '%:e %f' Dropbox/
 pwd > .pwd
 RSYNC_PASSWORD=secret rsync .pwd "$@" rsync://$USER@$IP:6501/$USER/`hostname`/