git.annexia.org
/
fedora-mingw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b14adb2
)
Add a bandwidth limit to stop it killing my ADSL.
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 30 Oct 2008 09:41:32 +0000
(09:41 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 30 Oct 2008 09:41:32 +0000
(09:41 +0000)
upload.sh
patch
|
blob
|
history
diff --git
a/upload.sh
b/upload.sh
index
6593a9d
..
0837e78
100755
(executable)
--- a/
upload.sh
+++ b/
upload.sh
@@
-4,8
+4,9
@@
PORT=22222
SERVER=annexia.org
USERNAME=rich
REMOTEDIR=tmp/mingw/
+KBPS=25 ;# kilobytes per second
-rsync -av --delete \
+rsync -av --delete
--bwlimit=$KBPS
\
~/public_html/smock/yum/fedora-9 \
-e "ssh -p $PORT" \
$USERNAME@$SERVER:$REMOTEDIR