From 012a236db2bc1914144b6ef055ddd7bf05001195 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 23 Aug 2010 10:41:20 +0200 Subject: Fix dir; set limit --- syncrepo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syncrepo b/syncrepo index 9eea4cb..b98ee8f 100755 --- a/syncrepo +++ b/syncrepo @@ -13,7 +13,7 @@ touch "${lock}" trap "rm -f '${lock}'" EXIT INT TERM rsync -rtlvH --safe-links --delete-after --progress -h \ - --delay-updates --no-motd \ + --delay-updates --no-motd --bwlimit=1000 \ --temp-dir="${tmp}" \ --exclude='*.links.tar.gz*' \ --exclude='/other' \ @@ -22,4 +22,4 @@ rsync -rtlvH --safe-links --delete-after --progress -h \ ${source} \ "${target}" -echo "Last sync was $(date -d @$(cat repo/lastsync))" +echo "Last sync was $(date -d @$(cat ${target}/lastsync))" -- cgit v1.2.3-24-g4f1b