test send_file with spaces in both arguments
[cloudstore.git] / client / rsync-push.sh
1 #!/bin/sh -xe
2
3 . ./env.sh
4 #inotifywait -m -r --format '%:e %f' Dropbox/
5 pwd > .pwd
6 RSYNC_PASSWORD=secret rsync .pwd "$@" rsync://$USER@$IP:6501/$USER/`hostname`/
7 rm .pwd