savename()
{
readonly secs="$1"
- WVPASS bup-python -c "from time import strftime, localtime; \
+ WVPASS bup-cfg-py -c "from time import strftime, localtime; \
print(strftime('%Y-%m-%d-%H%M%S', localtime($secs)))"
}
WVPASS bup init
WVPASS cd "$tmpdir"
-savestamp1=$(WVPASS bup-python -c 'import time; print(int(time.time()))') || exit $?
+savestamp1=$(WVPASS bup-cfg-py -c 'import time; print(int(time.time()))') || exit $?
savestamp2=$(($savestamp1 + 1))
savename1="$(savename "$savestamp1")" || exit $?