From ba2ac5f712c0c60aab520fe32f94b91e55af2d46 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 11 Aug 2019 10:37:23 +1200 Subject: [PATCH 1/1] Configure regular cleaning of thumbnails --- .crontab.d/base | 1 + 1 file changed, 1 insertion(+) diff --git a/.crontab.d/base b/.crontab.d/base index d318745..225d773 100644 --- a/.crontab.d/base +++ b/.crontab.d/base @@ -3,3 +3,4 @@ MAILTO=madduck+crontab 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 -- +58 4 * * * [[ -d $HOME/.cache/thumbnails ]] && autoload -U zargs && zargs --no-run-if-empty -- $HOME/.cache/thumbnails/**/*(.NDa+14) -- rm -- -- 2.39.5