X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=offlineimap-sync;h=3c75258b2b1f328271fac34186e6e40842397020;hb=8a6b446c7e336596af614c853e1c6177e55a7983;hp=74b23c1ccb8f10c573a5b3cc20192fba45011189;hpb=0b6d44c7f3d567e0a26138509c8a24cb57c69b50;p=distro-setup diff --git a/offlineimap-sync b/offlineimap-sync index 74b23c1..3c75258 100755 --- a/offlineimap-sync +++ b/offlineimap-sync @@ -75,11 +75,9 @@ myfind() { # I want to hop into conversations about our mailing # systems there, but I don't need many old messages. myfind /nocow/user/fsfmd/l/qemu-devel/new -type f -mtime +14 -execdir rm -- '{}' + - - myfind /nocow/user/fsfmd/{sec,Spam,Drafts,{rtcc,sysadmin,l/outreachy-mentors}/new} -type f -mtime +100 -execdir rm -- '{}' + - myfind /nocow/user/fsfmd/log -type f -mtime +300 -execdir rm -- '{}' + +myfind /nocow/user/fsfmd/dmarc -type f -mtime +14 -execdir rm -- '{}' + # delete based on http://deflexion.com/2006/05/imap-way-of-deleting-message