Multiple scripts that are useful but don't deserve their own repository.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
multiple_scripts/mu-search.sh

9 lines
424 B

#!/bin/bash
echo "Search for? (subject: to: from: body: cc: bcc:)"
read search
# In case I forget and put commas, or put a space after the colon
search=$(echo "$search" | sed 's/: /:/' | sed 's/,/ /')
# There are no quotes around the variable here ON PURPOSE
mu find --clearlinks --skip-dups --include-related --threads --format=links --linksdir=~/.mu/results $search
echo "Searching..... press F9 to move to that mailbox"