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
}