diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-08-23 10:41:20 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-08-23 10:41:20 +0200 |
commit | 012a236db2bc1914144b6ef055ddd7bf05001195 (patch) | |
tree | 5daf17a3ec38bf78838ac3bccf78fa55e8faa3fa /syncrepo | |
parent | 7915bbf62a1fd8f1e7efd114bdbc65ccb28821ff (diff) | |
download | repo-tools-012a236db2bc1914144b6ef055ddd7bf05001195.tar.gz repo-tools-012a236db2bc1914144b6ef055ddd7bf05001195.tar.xz |
Fix dir; set limit
Diffstat (limited to 'syncrepo')
-rwxr-xr-x | syncrepo | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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))" |