mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit d3f14eaa55df4e33f564b9c8b09fc1d887999964
parent 5eea6f4efb7b16ebe5318415dca2dfe620870589
Author: Duncaen <mail@duncano.de>
Date:   Thu, 23 Feb 2017 20:25:21 +0100

mpick.1: improve EXAMPLES

Diffstat:
man/mpick.1 | 20++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/man/mpick.1 b/man/mpick.1 @@ -140,8 +140,24 @@ tests are given by the following EBNF: .Sh EXIT STATUS .Ex -std .Sh EXAMPLES -You can use mpick to filter mail by moving them across Maildir inboxes. -.Dl mv $(mlist ./INBOX | mpick -t 'from ~~~ \&"github\&"') ./github/cur +You can pick mails to move them into another +.Dv maildir . +.Pp +.Dl mv $(mlist ./INBOX | mpick -t 'from =~ \&"@github\&"') ./github/cur +.Pp +Or you can use +.Nm +to pick mails from the current sequence. +.Pp +.Dl mpick -t 'subject =~~ \&"mblaze\&"' | mscan +.Pp +A more advanced +.Nm +expressions to pick mails in a time span which are flagged as replied or not seen. +.Pp +.Bd -literal -offset indent +mpick -t 'date >= \&"2016-01-01\&" && date < \&"2017-01-01\&" && (replied || !seen)' +.Ed .Sh SEE ALSO .Xr lr 1 , .Xr mailx 1