diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-09-18 16:47:55 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-09-18 16:47:55 -0300 |
commit | b4e2708c6f8cc2191c581aef404803478e65e678 (patch) | |
tree | 703d3f7f8f96d9564e7cc3f8ebf85a38c93ab3e1 /mutt-notmuch-tag | |
parent | 4fdd3ebb2b0622fb6cff7376a02a5b92c1aba2ae (diff) | |
download | scripts-b4e2708c6f8cc2191c581aef404803478e65e678.tar.gz scripts-b4e2708c6f8cc2191c581aef404803478e65e678.tar.bz2 |
Moved scripts to custom repos
Diffstat (limited to 'mutt-notmuch-tag')
-rwxr-xr-x | mutt-notmuch-tag | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/mutt-notmuch-tag b/mutt-notmuch-tag deleted file mode 100755 index 9b80a19..0000000 --- a/mutt-notmuch-tag +++ /dev/null @@ -1,21 +0,0 @@ -# mutt-notmuch-tag.sh -# Simple and crude script to tag multiple messagess in mutt using notmuch. -# See http://upsilon.cc/~zack/blog/posts/2011/01/how_to_use_Notmuch_with_Mutt/ - -grep "Message-ID" - > temp.txt -sed -e 's|Message-ID:.*<\(.*\)>.*|id:\1|' temp.txt > temp1.txt -sed '{:q;N;s/\n/ OR /g;t q}' temp1.txt > temp2.txt - -## When vi opens up list the tagging commands, e.g. +tag1 -tag2 -vi tags.txt - -TAGS=`cat tags.txt` -SEARCHEXPR=`cat temp2.txt` - -## For debugging -echo "notmuch tag $TAGS -- $SEARCHEXPR" >> temp2.txt - -## Now apply the tags -notmuch tag $TAGS -- $SEARCHEXPR - -# End of mutt-notmuch-tag.sh |