From 600c7f0c8d5ca24d5664eabdcb00aa5535be2058 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 17 Jun 2010 08:31:52 +0200 Subject: [PATCH 1/1] fix tmp cleanup and install .nobackup file --- .crontab.d/base | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.crontab.d/base b/.crontab.d/base index 4726b63..74e13c4 100644 --- a/.crontab.d/base +++ b/.crontab.d/base @@ -1,6 +1,5 @@ SHELL=/bin/zsh MAILTO=madduck+crontab -28 4 * * * [[ -d $TMPDIR ]] && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/*(NDa+1L0) -- rm -- -38 4 * * * [[ -d $TMPDIR ]] && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/**/*(.NDa+28) $TMPDIR/**/*(@NDa+28) -- rm -- -48 4 * * * [[ -d $TMPDIR ]] && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/**/*(/NDm+28^F) -- rmdir -- +38 4 * * * [[ -d $TMPDIR ]] && : >| $TMPDIR/.nobackup && 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