From: Richard W.M. Jones <"Richard W.M. Jones "> Date: Thu, 30 Oct 2008 09:41:32 +0000 (+0000) Subject: Add a bandwidth limit to stop it killing my ADSL. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=3a7409c6b277a84afb0b08acfb92de65e0e39c31;p=fedora-mingw.git Add a bandwidth limit to stop it killing my ADSL. --- diff --git a/upload.sh b/upload.sh index 6593a9d..0837e78 100755 --- 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