push() {
file=`shift`
- RSYNC_PASSWORD=secret rsync $* $file rsync://test+localhost@127.0.0.1:6501/test/localhost/$file
+ RSYNC_PASSWORD=secret rsync $* $file rsync://u2000@127.0.0.1:6501/u2000/localhost/$file
}
pull() {
from=$1
to=$2
test -z "$to" && to=$1
- RSYNC_PASSWORD=secret rsync rsync://test+localhost@127.0.0.1:6501/test/localhost/$from $to
+ RSYNC_PASSWORD=secret rsync rsync://u2000@127.0.0.1:6501/u2000/localhost/$from $to
}
-#./remove-user.sh u2000
+#./remove-user.sh test@example.com
-#./create-user.sh u2000 secret
-#./create-user.sh u2000 secret localhost
+sudo ./create-user.sh test@example.com secret 200k
+sudo ./create-user.sh test2@example.com secret 20k
#./remove-user.sh u2001
#./create-user.sh u2001 secret