From 00af21607db13ac6e4976fd09fbe4e322f167dfe Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 2 May 2009 22:47:39 +0200 Subject: [PATCH] what a difference a small little innocent + can make Signed-off-by: Joerg Jaspert --- config/debian/cron.dinstall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index c239c09c..edd6f6c6 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -354,12 +354,12 @@ function compress() { cd $base/backup/ find -maxdepth 1 -mindepth 1 -type f -name 'dump_pre_*' -mtime +2 -print0 | xargs -0 --no-run-if-empty rm - find -maxdepth 1 -mindepth 1 -type f -name 'dump_*' \! -name '*.bz2' \! -name '*.gz' -mmin 720 | + find -maxdepth 1 -mindepth 1 -type f -name 'dump_*' \! -name '*.bz2' \! -name '*.gz' -mmin +720 | while read dumpname; do echo "Compressing $dumpname" bzip2 -9v "$dumpname" done - find -maxdepth 1 -mindepth 1 -type f -name "dumpall_*" \! -name '*.bz2' \! -name '*.gz' -mmin 720 | + find -maxdepth 1 -mindepth 1 -type f -name "dumpall_*" \! -name '*.bz2' \! -name '*.gz' -mmin +720 | while read dumpname; do echo "Compressing $dumpname" bzip2 -9v "$dumpname" -- 2.39.2