From: martin f. krafft Date: Sat, 10 Aug 2019 22:37:23 +0000 (+1200) Subject: Configure regular cleaning of thumbnails X-Git-Url: https://git.madduck.net/etc/crontab.git/commitdiff_plain/ba2ac5f712c0c60aab520fe32f94b91e55af2d46?hp=69ed844aa651f16e25878dc364dc5af4d9b7270e Configure regular cleaning of thumbnails --- 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 --