X-Git-Url: http://git.hcoop.net/clinton/scripts.git/blobdiff_plain/5213ef1798aeb52c43e61b59c4a382cb74c8b015..3c4375e5bf35bcd0d5b21c37c060ec8f3b1e19f0:/rsync-shell?ds=sidebyside diff --git a/rsync-shell b/rsync-shell index 71482d3..916e136 100755 --- a/rsync-shell +++ b/rsync-shell @@ -18,7 +18,7 @@ sub backup { sub rsync { my ($cmdline) = @_; - if ( $cmdline !~ m!^--server --sender -vre\.iL \. /vicepa/hcoop-backups/files/[0-9]{4}\.[0-9]{2}\.[0-9]{2}$!s ) { + if ( $cmdline !~ m!^--server --sender -vre\.iL --bwlimit=325 \. /vicepa/hcoop-backups/files/[0-9]{4}\.[0-9]{2}\.[0-9]{2}$!s ) { die "Incorrect arguments to rsync.\n"; }