X-Git-Url: https://git.distorted.org.uk/~mdw/ca/blobdiff_plain/81f38a427cdef694aaccfb12e1005c746d2008ec..0c8c4e722655adb78c4431a5785af6388c2a2d90:/bin/rollup diff --git a/bin/rollup b/bin/rollup index 4955761..f620bcd 100755 --- a/bin/rollup +++ b/bin/rollup @@ -5,8 +5,8 @@ last=nil flush () { case $last in nil) return ;; esac - (cd tmp/rollup/all && tar cfz - .) >tmp/rollup/$year-all.tgz - mv tmp/rollup/$year-all.tgz archive/ + (cd tmp/rollup/all && tar cfz - .) >tmp/rollup/$last-all.tgz + mv tmp/rollup/$last-all.tgz archive/ rm -f archive/$last-??-??T??:??:??Z.tgz rm -rf tmp/rollup/all }