diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-06-25 23:28:39 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-06-25 23:28:39 +0200 |
commit | f0faecd4d0f37575781865e8dfe82f8eadec135d (patch) | |
tree | 275360ee818ef0f1abf3cca49bbcadc1f9d95658 /syncrepo | |
parent | f16a290a06d404722d53f6b38e567e340f9d7387 (diff) | |
download | repo-tools-f0faecd4d0f37575781865e8dfe82f8eadec135d.tar.gz repo-tools-f0faecd4d0f37575781865e8dfe82f8eadec135d.tar.xz |
--partial does not work as expected
Diffstat (limited to 'syncrepo')
-rwxr-xr-x | syncrepo | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,6 +1,6 @@ #!/bin/bash -home="$(dirname "${0}")" +home="$(dirname "$(readlink -f $0)")" target="${home}/repo" tmp="${home}/tmp" lock='/tmp/mirrorsync.lck' @@ -14,9 +14,8 @@ touch "${lock}" trap "rm -f '${lock}'" EXIT INT TERM rsync -rtlvH --safe-links --delete-after --progress -h \ - --partial \ - --partial-dir="${tmp}" \ --delay-updates \ + --temp-dir="${tmp}" \ --exclude='*.abs.tar.gz*' \ --exclude='*.files.tar.gz*' \ --exclude='*.links.tar.gz*' \ |