configuration/local/bin/mmute

8 lines
208 B
Plaintext
Raw Normal View History

2020-12-04 14:56:09 +01:00
#!/bin/sh
if [ -z "$*" ]; then
exec mmute .
else
mseq "$@" | mshow -qh message-id:references:in-reply-to | grep -o '<[^>]*>' | cat ~/.mblaze/muted - | sort | uniq | sponge ~/.mblaze/muted
marchive "$@"
fi