From 3a7409c6b277a84afb0b08acfb92de65e0e39c31 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Add a bandwidth limit to stop it killing my ADSL. --- upload.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 1.8.3.1