=== removed file 'bin/snap.list' --- bin/snap.list 2014-02-20 20:50:01 +0000 +++ bin/snap.list 1970-01-01 00:00:00 +0000 @@ -1,3 +0,0 @@ -#!/bin/sh -rsync -li --include='.snapshot.[0-9]*' --exclude='*' "$@" | \ - awk '$5 ~ /^\.snapshot\./{ print substr($5, 11) }' === removed file 'bin/snap.push' --- bin/snap.push 2014-02-20 20:50:01 +0000 +++ bin/snap.push 1970-01-01 00:00:00 +0000 @@ -1,28 +0,0 @@ -#!/bin/zsh -die() { - print -r - "$@" - exit 1 -} - -if [[ -z $SNAP_SRCS ]]; then - SNAP_SRCS=$1;shift -fi -SNAP_SRCS=${SNAP_SRCS%%/} - -if [[ -z $SNAP_DST ]]; then - SNAP_DST=$1;shift -fi -SNAP_DST=${SNAP_DST%%/} - -typeset -A snapshots -for ts in ${(f)"$(snap.list $SNAP_SRCS)"}; do - snapshots[$ts]=$SNAP_SRCS/$ts -done -for ts in ${(f)"$(snap.list $SNAP_DST)"}; do - unset "snapshots[$ts]" -done - -export SNAP_SRC SNAP_DST -for SNAP_SRC in ${(k)snap_src}; do - snap.push.single "$@" -done === modified file 'bin/snap.push.single' --- bin/snap.push.single 2014-02-20 20:50:01 +0000 +++ bin/snap.push.single 2014-02-18 22:49:24 +0000 @@ -21,7 +21,6 @@ if [[ $SNAP_DST == *:* ]]; then # remote - [[ $SNAP_DST == *.push ]] || $SNAP_DST=$SNAP_DST.push $rsync --exclude=/.snapshot.\* $SNAP_SRC/ $SNAP_DST/ && \ $rsync $SNAP_SRC/ $SNAP_DST/ else