From 10fef5876d301f5d48f45fea60c6554543b6b01c Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 24 Aug 2010 10:27:23 +0200 Subject: [PATCH 1/1] new backup-filter file to exclude tmpdir --- .crontab.d/base | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.crontab.d/base b/.crontab.d/base index 74e13c4..e095a73 100644 --- a/.crontab.d/base +++ b/.crontab.d/base @@ -1,5 +1,5 @@ SHELL=/bin/zsh MAILTO=madduck+crontab -38 4 * * * [[ -d $TMPDIR ]] && : >| $TMPDIR/.nobackup && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/**/*(NDa+1L0,.NDa+28,@NDa+28,N-@) -- rm -- +38 4 * * * [[ -d $TMPDIR ]] && echo '- *' >| $TMPDIR/.backup-filter && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/**/*(NDa+1L0,.NDa+28,@NDa+28,N-@) -- rm -- 48 4 * * * [[ -d $TMPDIR ]] && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/**/*(/ND^F) -- rmdir -- -- 2.39.5