X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=mymail.1;h=b6edee05e80970e47a47db9b64e262c2a4ad3191;hb=b70085e4312ec224a92e696efdb6a0667cbd0faf;hp=b79b4b917830c4329817c067fe98d8fd6c217dbd;hpb=248736d0d3900bce18c1c6afd9f3dc2d93df2cae;p=mymail.git diff --git a/mymail.1 b/mymail.1 index b79b4b9..b6edee0 100644 --- a/mymail.1 +++ b/mymail.1 @@ -1,4 +1,4 @@ -.TH "MYMAIL" "0.9.2" "February 2013" "Francois Fleuret" "User Commands" +.TH "MYMAIL" "0.9.5" "February 2013" "Francois Fleuret" "User Commands" \" This man page was written by Francois Fleuret \" and is distributed under a Creative Commons Attribution-Share Alike @@ -40,11 +40,14 @@ set the db root path for recursive search \fB-l \fR, \fB--db-list \fR set the semicolon-separated list of db files for search .TP +\fB-m \fR, \fB--mbox-pattern \fR +set the mbox filename pattern for recursive search +.TP \fB-s \fR, \fB--search \fR search for matching mails in the db file. Multiple search requests can be combined, and only mails fulfilling all of them will be extracted. .TP -\fB-d \fR, \fB--db-file \fR +\fB-d \fR, \fB--db-file-generate \fR set the db filename for indexing .TP \fB-i\fR, \fB--index\fR @@ -118,24 +121,28 @@ selects mails received the most recent such day of the week The command +.P .nf .B mymail --db-file /tmp/mymail/2010-2011/mymail.db \e -.B --index \e -.B ~/archives/mails/2010 ~/archives/mails/2011 +.B \ \ \ \ \ \ \ --index \e +.B \ \ \ \ \ \ \ ~/archives/mails/2010 ~/archives/mails/2011 +.fi will index all the mbox files present in the directories ~/archives/mails/2010 and ~/archives/mails/2011 (recursively) and create an index file /tmp/mymail/2010-2011/mymail.db And +.P .nf .B mymail --db-pattern '\.db$' --db-root /tmp/mymail \e -.B --output /tmp/mymail.mbox \e -.B --search 'p bob.something' \e -.B --search '!s spam' \e -.B --search 'month' +.B \ \ \ \ \ \ \ --output /tmp/mymail.mbox \e +.B \ \ \ \ \ \ \ --search 'p bob.something' \e +.B \ \ \ \ \ \ \ --search '!s spam' \e +.B \ \ \ \ \ \ \ --search 'month' +.fi will search in all the database files *.db located (recursively) in /tmp/mymail, for all the mails having "bob.something" as sender or recipient, without "spam" in the subject, received over the last 31