From: martin f. krafft Date: Tue, 1 Jul 2008 16:40:33 +0000 (+0200) Subject: make sure to only rm files X-Git-Url: https://git.madduck.net/etc/crontab.git/commitdiff_plain/51f8de8b85b4b72ba585a1aeec66d3a750c449d8?hp=09a22dc92982a0560e24e861249381c4688a5b55 make sure to only rm files --- diff --git a/.crontab.d/base b/.crontab.d/base index 0cdce43..0c3a2fa 100644 --- a/.crontab.d/base +++ b/.crontab.d/base @@ -2,5 +2,5 @@ SHELL=/bin/zsh MAILTO=madduck+crontab 28 4 * * * [[ -d $TMPDIR ]] && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/*(NDa+1L0) -- rm --one-file-system -- -38 4 * * * [[ -d $TMPDIR ]] && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/**/*(NDa+28) -- rm --one-file-system -- -48 4 * * * [[ -d $TMPDIR ]] && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/**/*(ND/m+28^F) -- rmdir -- +38 4 * * * [[ -d $TMPDIR ]] && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/**/*(.NDa+28) -- rm --one-file-system -- +48 4 * * * [[ -d $TMPDIR ]] && autoload -U zargs && zargs --no-run-if-empty -- $TMPDIR/**/*(/NDm+28^F) -- rmdir --