configuration/local/bin/mmute
Felix Van der Jeugt 5fe8a76095
start using mblaze
2020-12-04 14:56:09 +01:00

8 lines
208 B
Bash
Executable File

#!/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