git.annexia.org
/
fedora-mingw.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add a bandwidth limit to stop it killing my ADSL.
[fedora-mingw.git]
/
upload.sh
1
#!/bin/sh -
2
3
PORT=22222
4
SERVER=annexia.org
5
USERNAME=rich
6
REMOTEDIR=tmp/mingw/
7
KBPS=25 ;# kilobytes per second
8
9
rsync -av --delete --bwlimit=$KBPS \
10
~/public_html/smock/yum/fedora-9 \
11
-e "ssh -p $PORT" \
12
$USERNAME@$SERVER:$REMOTEDIR