projects
/
mymail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b18f24a
)
Update.
author
Francois Fleuret
<francois@fleuret.org>
Sat, 2 Feb 2013 15:51:14 +0000
(16:51 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Sat, 2 Feb 2013 15:51:14 +0000
(16:51 +0100)
mymail.1
patch
|
blob
|
history
diff --git
a/mymail.1
b/mymail.1
index
92dbb56
..
79eff22
100644
(file)
--- a/
mymail.1
+++ b/
mymail.1
@@
-38,22
+38,23
@@
for a mail to be selected.
.SH "EXAMPLES"
.SH "EXAMPLES"
-To index all the mbox
present in the directory ~/my_mboxes and create
-
a db file /tmp
/mymail.db
+To index all the mbox
files present in the directory ~/archives/mails/2010
+
(recursively) and create a data-base file /tmp/mymail/2010
/mymail.db
.RS
.EX
.RS
.EX
-mymail --index --db-file /tmp/mymail
.db /tmp/my_mboxes
+mymail --index --db-file /tmp/mymail
/2010/mymail.db ~/archives/mails/2010
.EE
.RE
.EE
.RE
-To search in /tmp/mymail_2010.db and /tmp/mymail_2011.db for all mails
-having bob.something as sender or recipient, without "spam" in the
-subject
+To search in all the data-base files mymail.db located (recursively)
+in /tmp/mymail, for all the mails having bob.something as sender or
+recipient, without "spam" in the subject, and creating a result mbox
+file /tmp/mymail/mbox
.RS
.EX
.RS
.EX
-mymail --
search "p bob.something,!s spam" /tmp/mymail_2010.db /tmp/mymail_2011.db
+mymail --
db-file mymail.db --db-root /tmp/mymail --search 'p bob.something' --search '!s spam' > /tmp/mymail.mbox
.EE
.RE
.EE
.RE