From: martin f. krafft Date: Thu, 17 Jun 2010 06:31:52 +0000 (+0200) Subject: fix tmp cleanup and install .nobackup file X-Git-Url: https://git.madduck.net/etc/crontab.git/commitdiff_plain/600c7f0c8d5ca24d5664eabdcb00aa5535be2058?ds=inline fix tmp cleanup and install .nobackup file --- 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 --