X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mailclean;h=4f0c55a028048e6fff195a4e52dc0cbcc5bcce5f;hb=7d9ec600a5ed9f88b85e02a27ee017b85721a6ac;hp=072e4046e4637279451b7ab4ffdb102c947dd3f8;hpb=aa9cb10514e29340a6d6a194ee189fa4364f1f2e;p=distro-setup diff --git a/mailclean b/mailclean index 072e404..4f0c55a 100755 --- a/mailclean +++ b/mailclean @@ -38,6 +38,9 @@ myfind /m/md/log -type f -mtime +300 -execdir rm -- '{}' + myfind /m/md/dmarc -type f -mtime +60 -execdir rm -- '{}' + myfind /m/md/fsfalerts -type f -mtime +10 -execdir rm -- '{}' + +# not strictly a mail directory, but it fits well in this script +myfind /p/c/.editor-backups -type f -mtime +300 -execdir rm -- '{}' + + shopt -s nullglob