#!/bin/sh # tag all message from mailing lists notmuch tag +aubio -- tag:new and to:aubio-user@aubio.org notmuch tag +be -- tag:new and to:be-devel@bugseverywhere.org notmuch tag +bluetooth -- tag:new and to:linux-bluetooth@vger.kernel.org notmuch tag +bower -- tag:new and \( to:bower@noreply.github.com or to:bower.io@noreply.github.com or to:bower.github.io@noreply.github.com \) notmuch tag +catalyst -- tag:new and \( to:gentoo-catalyst@lists.gentoo.org or subject:gentoo-releng-autobuilds \) notmuch tag +celery -- tag:new and to:celery@noreply.github.com notmuch tag +comedi -- tag:new and to:comedi_list@googlegroups.com notmuch tag +copyleft -- tag:new and to:copyleft-next@lists.fedorahosted.org notmuch tag +cython -- tag:new and \( to:cython-users@googlegroups.com or to:cython-devel@python.org \) notmuch tag +docker -- tag:new and \( to:docker@noreply.github.com or to:docker-user@googlegroups.com \) notmuch tag +docker-registry -- tag:new and to:docker-registry@noreply.github.com notmuch tag +dj-static -- tag:new and to:dj-static@noreply.github.com notmuch tag +fontconfig -- tag:new and \( to:fontconfig@lists.freedesktop.org or to:fontconfig@fontconfig.org \) notmuch tag +fun -- tag:new and \( whatif@xkcd.com or from:service@dilbert.com \) notmuch tag +gentoo -- tag:new and \( to:gentoo-dev@lists.gentoo.org or to:gentoo-dev@gentoo.org or to:gentoo-alt@lists.gentoo.org or from:bugzilla-daemon@gentoo.org or from:planet@gentoo.org or from:planet-gentoo@rss2email.invalid or from:gentoo-universe@rss2email.invalid \) notmuch tag +gentoo-prefix -- tag:new and to:gentoo-alt@lists.gentoo.org notmuch tag +gentoo-python -- tag:new and \( to:gentoo-python@lists.gentoo.org or to:python@gentoo.org \) notmuch tag +git -- tag:new and \( to:git@vger.kernel.org or to:progit@noreply.github.com or to:git-scm.com@noreply.github.com \) notmuch tag +github -- tag:new and from:support@github.com notmuch tag +gunicorn -- tag:new and to:gunicorn@noreply.github.com notmuch tag +libgit2 -- tag:new and \( to:libgit2@noreply.github.com or to:pygit2@noreply.github.com \) notmuch tag +gitorious -- tag:new and to:gitorious@googlegroups.com notmuch tag +gnupg -- tag:new and \( to:gnupg-devel@gnupg.org or to:gnupg-announce@gnupg.org \) notmuch tag +gnuplot -- tag:new and to:gnuplot-beta@lists.sourceforge.net notmuch tag +gramps -- tag:new and to:gramps-devel@lists.sourceforge.net notmuch tag +hdf -- tag:new and to:hdf-forum@hdfgroup.org notmuch tag +html2text -- tag:new and to:html2text@noreply.github.com notmuch tag +hub -- tag:new and to:hub@noreply.github.com notmuch tag +hubot -- tag:new and to:hubot-scripts@noreply.github.com notmuch tag +icalendar -- tag:new and to:icalendar@noreply.github.com notmuch tag +ipython -- tag:new and \( to:ipython-dev@scipy.org or to:ipython-dev@scipy.net or to:ipython-user@scipy.org or to:ipython-user@scipy.net or to:ipython@noreply.github.com or to:ipythonblocks@noreply.github.com \) notmuch tag +jinja -- tag:new and \( to:jinja2@noreply.github.com or subject:jinja \) notmuch tag +kerberos -- tag:new and \( to:krbdev@mit.edu or to:kerberos@mit.edu or to:kerberos-announce@mit.edu \) notmuch tag +kibana -- tag:new and to:kibana@noreply.github.com notmuch tag +kmod -- tag:new and to:python-kmod@noreply.github.com notmuch tag +man -- tag:new and to:linux-man@vger.kernel.org notmuch tag +mentor -- tag:new and to:RMG-Py@noreply.github.com notmuch tag +mlmmj -- tag:new and to:mlmmj@mlmmj.org notmuch tag +monkeysphere -- tag:new and to:monkeysphere@lists.riseup.net notmuch tag +mdp -- tag:new and \( mdp-toolkit@noreply.github.com or to:mdp-toolkit-users@lists.sourceforge.net \) notmuch tag +notmuch -- tag:new and to:notmuch@notmuchmail.org notmuch tag +pelican -- tag:new and \( to:pelican@noreply.github.com or to:pelican-themes@noreply.github.com \) notmuch tag +persona -- tag:new and to:persona@noreply.github.com notmuch tag +portage -- tag:new and \( to:gentoo-portage-dev@lists.gentoo.org \) notmuch tag +pycrypto -- tag:new and to:pycrypto@noreply.github.com notmuch tag +pycuda -- tag:new and to:pycuda@noreply.github.com notmuch tag +python -- tag:new and \( to:python-list@python.org or to:python-announce@python.org or from:report@bugs.python.org or from:python-checkins@rss2email.invalid \) notmuch tag +roundup -- tag:new and \( to:roundup-devel@lists.sourceforge.net or to:roundup-users@lists.sourceforge.net \) notmuch tag +rss2email -- tag:new and \( to:rss2email@tremily.us or to:rss2email@noreply.github.com \) notmuch tag +siunitx -- tag:new and to:siunitx@noreply.github.com notmuch tag +simavr -- tag:new and simavr@googlegroups.com notmuch tag +simulavr -- tag:new and \( to:simulavr-devel@nongnu.org or to:simulavr-devel@mail.freesoftware.fsf.org \) notmuch tag +swc -- tag:new and \( to:lists.software-carpentry.org or to:boot-camps@noreply.github.com or to:bc@noreply.github.com or to:website@noreply.github.com or to:site@noreply.github.com or to:assets@noreply.github.com or to:ipythonblocks@noreply.github.com or to:notebooks@noreply.github.com or to:online-tutorials@noreply.github.com or to:code-research-object@noreply.github.com or from:swc@rss2email.invalid or from:gvwilson@third-bit.com or from:ctb@rss2email.invalid or from:ctb-comments@rss2email.invalid or from:computinged@rss2email.invalid or from:computinged-comments@rss2email.invalid or to:RMG-Py@noreply.github.com \) notmuch tag +tldp -- tag:new and to:discuss@en.tldp.org notmuch tag +towtruck -- tag:new and \( to:towtruck@noreply.github.com or to:togetherjs@noreply.github.com \) notmuch tag +venv -- tag:new and to:python-virtualenv@googlegroups.com notmuch tag +wireless +linux -- tag:new and \( to:linux-wireless or to:b43-dev@lists.infradead.org \) # tag rss2email stuff, actually sorted by procmail based on headers # which aren't indexed by notmuch notmuch tag +job -- tag:new and \( from:careers.stackoverflow@rss2email.invalid \) notmuch tag +journal -- tag:new and \( folder:journal or from:nature-aop@rss2email.invalid or from:nature-issue@rss2email.invalid or from:pnas@rss2email.invalid or from:rss@aps.org \) notmuch tag +news -- tag:new and \( from:"The Olympian" or from:"The News Tribune" \) # tag sysadmin stuff notmuch tag +admin -- tag:new and subject:gentoo-releng-autobuilds notmuch tag +admin -- tag:new and \( 'subject:report domain' or 'subject:DMARC.*report' \) # tag issues from bugtrackers notmuch tag +issue -- tag:new and \( from:bugzilla-daemon@gentoo.org or from:report@bugs.python.org \) # archive all messages from "me" notmuch tag -new -- tag:new and \( from:wking@tremily.us or from:wking@drexel.edu or from:tvrkng@gmail.com \) # remove new from things we don't want in the inbox notmuch tag +unread -new -- tag:new and not to:wking@tremily.us and \( tag:dj-static or tag:gunicorn or tag:hub or tag:icalendar or tag:gramps or tag:job or tag:journal or tag:pelican or tag:persona or tag:notmuch or tag:roundup or tag:simulavr or tag:venv or tag:wireless \) # finally, retag all "new" messages "inbox" and "unread" notmuch tag +inbox +unread -new -- tag:new