X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=offlineimap-sync;h=3c75258b2b1f328271fac34186e6e40842397020;hp=74b23c1ccb8f10c573a5b3cc20192fba45011189;hb=b6c69a0915fdc162184279f94448e6ff929a06c6;hpb=c831645901a69a13197d07de05b5ec2720af91cf 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