From 51f8de8b85b4b72ba585a1aeec66d3a750c449d8 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 1 Jul 2008 18:40:33 +0200 Subject: [PATCH] make sure to only rm files --- .crontab.d/base | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- -- 2.39.5