]> git.madduck.net Git - etc/mutt.git/blobdiff - .crontab.d/mutt

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

maintain backup filter in header_cache dir
[etc/mutt.git] / .crontab.d / mutt
index f131969fe0937d1ba697e77f5bfea095a4b6f23c..6b170bfab40af064c257e8905a44ddea37506538 100644 (file)
@@ -1 +1 @@
-29 4 * * * zargs --no-run-if-empty -- $VARDIR/mutt/header_cache/*~*/.gitignore(-.NDa+28) -- rm --one-file-system --
+29 4 * * * [[ -d $VARDIR/mutt/header_cache ]] && echo '- *' >| $VARDIR/mutt/header_cache/.backup-filter && autoload -U zargs && zargs --no-run-if-empty -- $VARDIR/mutt/header_cache/*~*/.gitignore(.NDa+28) -- rm --