Paul Vixie <[email protected]> writes: > this sounds wonderful. as a die hard mh user, the thing i most need to be > able to do that you have not yet implemented is something like > > rmm all +results > for x in inbox outbox todo; do > pick -seq foo -from [email protected] -and -after '1 jan 2011' +$x > refile -link foo -src +inbox +results > done
I read this as "Gather all mail from me from this year in the folders inbox, outbox, todo into the folder results". I don't have refiling/moving/copying yet, but for your purposes, I think a named sequence (not implemented either) would do it: , seq results +inbox +outbox +todo from:[email protected] "date>2011-01-01" Then you can read them with , read results or show them all at once with , show results (And if you need a physical directory, , copy results +folder or directly , copy ... +folder) I think global sequences are a good idea, since you can easily restrict them to folders. > and the even simpler: > > pick -seq foo -before '1 jan 2011' +outbox > refile foo -src +outbox +outbox-2011 , move +outbox "date<2011-01-01" +outbox-2011 I think I'll implement these commands soon. > if i could do these kinds of things in addition to what your tool already > does, using Maildir or some other format that was more reliable and faster > for the imap server, i could consider switching away from MH. Whoa. :) Please note it's all alpha software yet. -- Christian Neukirchen <[email protected]> http://chneukirchen.org _______________________________________________ Nmh-workers mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/nmh-workers
