X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=mymail.git;a=blobdiff_plain;f=mymail.1;h=e48633b440353d340be82d6842f9b4e0f42fc292;hp=b79b4b917830c4329817c067fe98d8fd6c217dbd;hb=3ca38393b46c2bbba39f7b0bd4ca3ea918384b1d;hpb=248736d0d3900bce18c1c6afd9f3dc2d93df2cae diff --git a/mymail.1 b/mymail.1 index b79b4b9..e48633b 100644 --- a/mymail.1 +++ b/mymail.1 @@ -118,24 +118,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