Re: script to move messages according to tags

2019-12-11 Thread Carl Worth
Yes, Notmuch considers any email files with the same message-id header as being the same message so won't show you multiple versions of the same email, (unless you're specifically asking for it to with something like --output=files). In normal usage I never worry about the duplicates I get from

Re: script to move messages according to tags

2019-12-11 Thread Alan Schmitt
On 2019-12-11 16:33, David Edmondson writes: How you decide to deal with multiple results is really up to you - in my case I move/delete all of them (except that I don't actually delete anything). This is probably the key: I'm used to file-based MUA that will show me duplicates. If

Re: script to move messages according to tags

2019-12-11 Thread David Edmondson
On Wednesday, 2019-12-11 at 16:28:20 +01, Alan Schmitt wrote: > I do have one small question: how do you deal with mails that have > duplicates? For instance, when I send a mail to a mailing list, I end > up with both the sent email and the one I later receive from the > list. If I tag the send

Re: script to move messages according to tags

2019-12-11 Thread Alan Schmitt
Hello Örjan, On 2019-12-11 13:58, Örjan Ekeberg writes: Below is the script that I use which does more-or-less what you are asking for. Thank you very much, this is most helpful. I do have one small question: how do you deal with mails that have duplicates? For instance, when I send a

Re: script to move messages according to tags

2019-12-11 Thread Örjan Ekeberg
Alan Schmitt writes: > Has someone written such a script that I could copy and > adapt? > > My use cases are: > - find files with a deleted flag not in the Trash and move them to > the > Trash > - find files with an archive flag in my active mail store and move > them > to my local mail