* add date-range searches using date:/d:

This commit is contained in:
Dirk-Jan C. Binnema
2010-11-21 18:12:01 +02:00
parent c1203dd047
commit e0cada86d6
5 changed files with 88 additions and 31 deletions

View File

@ -104,6 +104,7 @@ search fields and their abbreviations:
msgid,i Message-ID
prio,p Message priority ('low', 'normal' or 'high')
flag,g Message Flags
date,d Date-Range
.fi
For clarity, this man-page uses the longer versions.
@ -159,6 +160,16 @@ can do with a single '/':
(and of course you can use the \fBm:\fR shortcut instead of \fBmaildir:\fR)
The date:/d: search parameter is 'special' in the fact that it takes a range
of dates. For now, these dates are in ISO 8601 format (YYYYMMDD). To get all
messages between (inclusive) the 5th of May 2009 and the 2nd of June 2010, you
could use:
.nf
mu find date:20090505..20100602
.fi
.SH OPTIONS
Note, some of the important options are described in the \fBmu(1)\fR man-page