Chris Green wrote: > On Thu, Apr 08, 2021 at 08:43:48AM +1000, Cameron Simpson wrote: > > On 07Apr2021 18:34, Kurt Hackenberg <k...@panix.com> wrote: > > >On 2021/04/07 18:16, Kurt Hackenberg wrote: > > >>On 2021/04/07 17:01, Chris Green wrote: > > >>>I'm looking for a tool which will allow me to search through a large > > >>>hierarchy of maildir messages and then provide actions to take on the > > >>>matched messages.
... > Yes, that was just one typical requirement. The other major > requirement is rather different. I have (for example) lots of > messages about orders from Screwfix which are currently spread around > in various sub-directories of 'shopping'. For suppliers like Screwfix > from whom I buy a lot of rather mixed up sort of items it now makes > sense to me to keep them all in a Screwfix directory. So the > requirement is to find all messages from Screwfix and put them in one > directory. > > > > I suspect Chris may need to roll his own. I'd imagine something like: > > > > find message paths using mairix \ > > | move message files sideways, making sure there's no conflicts > > > Yes, I think it may have to be a roll my own something like this. > It's just that mairix doesn't provide a very good 'handle' to use. Have you added a mairix search => maildir integration in your muttrc? The Screwfix case would be: macro index <F8> "<enter-command>set my_cmd = \`/usr/local/bin/mairixsearch\`<return><enter-command>push \$my_cmd<return>" "search messages" macro index <F9> "<change-folder-readonly>~/results<enter><limit>.<enter>" "display search results" F8 f screwfix F9 # tag or untag or whatever until you've got the right ones ;s =screwfix Would that work for you? -dsr-