test send_file with spaces in both arguments
[cloudstore.git] / client / rsync-push.sh
index cf966c7..d3ec405 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/sh -xe
 
+. ./env.sh
 #inotifywait -m -r --format '%:e %f' Dropbox/
 pwd > .pwd
-RSYNC_PASSWORD=secret rsync .pwd "$@" rsync://$USER@10.60.0.244:6501/$USER/`hostname`/
+RSYNC_PASSWORD=secret rsync .pwd "$@" rsync://$USER@$IP:6501/$USER/`hostname`/
 rm .pwd