=== modified file 'bin/snap.list' --- bin/snap.list 2014-02-20 23:36:38 +0000 +++ bin/snap.list 2014-02-20 20:50:01 +0000 @@ -1,3 +1,3 @@ #!/bin/sh -rsync -li --include='.snapshot.[0-9]*' --exclude='*' $RSYNC_ARGS "$@" | \ +rsync -li --include='.snapshot.[0-9]*' --exclude='*' "$@" | \ awk '$5 ~ /^\.snapshot\./{ print substr($5, 11) }' === modified file 'bin/snap.push' --- bin/snap.push 2014-02-20 23:36:38 +0000 +++ bin/snap.push 2014-02-20 23:18:54 +0000 @@ -2,7 +2,7 @@ : ${SNAP_SRCS:=.} usage() { - printf >&2 "Usage: %s: [-S SNAP_SRCS] [-D SNAP_DST] [-] [RSYNC_ARGS]\n" $(basename "$0") + printf >&2 "Usage: %s: [-S SNAP_SRCS] [-D SNAP_DST] [-] [RSYNC_ARGS]\n" $(basenam "$0") exit 2 } @@ -19,7 +19,6 @@ (h) usage;; esac done -shift $(($OPTIND - 1)) case $1 in (-) shift;; === modified file 'bin/snap.push.single' --- bin/snap.push.single 2014-02-20 23:36:38 +0000 +++ bin/snap.push.single 2014-02-20 23:18:54 +0000 @@ -19,7 +19,6 @@ (h) usage;; esac done -shift $(($OPTIND - 1)) case $1 in (-) shift;; @@ -51,7 +50,7 @@ } rs() { - rsync -aA --delete $RSYNC_ARGS "$@" + rsync -aA --delete } push_remote() { @@ -73,7 +72,7 @@ else rs "$@" "$SNAP_SRC/" "$SNAP_DST/$ts/" || exit $? fi - touch "${SNAP_DST}/${mark##*/}" + touch "${SNAP_DST}/${marks##*/}" } case "$SNAP_SRC" in