* update www a bit
This commit is contained in:
@ -10,14 +10,10 @@
|
|||||||
** Indexing your mail
|
** Indexing your mail
|
||||||
|
|
||||||
You can index your mail with:
|
You can index your mail with:
|
||||||
#+begin_src sh
|
#+html:<code> $ mu index</code>
|
||||||
$ mu index
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
If =mu= did not guess the right Maildir, you can set it explicitly:
|
If =mu= did not guess the right Maildir, you can set it explicitly:
|
||||||
#+begin_src sh
|
#+html:<code> $ mu index --maildir=~/MyMaildir</code>
|
||||||
$ mu index --maildir=~/MyMaildir
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
*** Excluding directories from indexing
|
*** Excluding directories from indexing
|
||||||
If you want to exclude certain directories from being indexed (for example,
|
If you want to exclude certain directories from being indexed (for example,
|
||||||
@ -31,29 +27,16 @@
|
|||||||
examples.
|
examples.
|
||||||
|
|
||||||
*** messages about Helsinki (in message body, subject, sender, ...)
|
*** messages about Helsinki (in message body, subject, sender, ...)
|
||||||
|
#+html:<code> $ mu find Helsinki</code>
|
||||||
#+begin_src sh
|
|
||||||
$ mu find Helsinki
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
*** messages to Jack with subject jellyfish containing the word tumbleweed
|
*** messages to Jack with subject jellyfish containing the word tumbleweed
|
||||||
|
#+html:<code> $ mu find to:Jack subject:jellyfish tumbleweed</code>
|
||||||
#+begin_src sh
|
|
||||||
$ mu find to:Jack subject:jellyfish tumbleweed
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
*** messages between 2 kilobytes and a 2Mb, written in December 2009 with an attachment from Bill
|
*** messages between 2 kilobytes and a 2Mb, written in December 2009 with an attachment from Bill
|
||||||
|
#+example $ mu find size:2k..2m date:20091201..20093112 flag:attach from:bill
|
||||||
#+begin_src sh
|
|
||||||
$ mu find size:2k..2m date:20091201..20093112 flag:attach from:bill
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
*** unread messages about soccer or socrates or ...
|
*** unread messages about soccer or socrates or ...
|
||||||
|
#+html:<code> $ mu find 'subject:soc*' flag:unread</code>
|
||||||
#+begin_src sh
|
|
||||||
$ mu find 'subject:soc*' flag:unread
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
|
|
||||||
** Finding contacts
|
** Finding contacts
|
||||||
|
|
||||||
@ -61,9 +44,7 @@
|
|||||||
searched with =mu cfind= (after your messages have been indexed):
|
searched with =mu cfind= (after your messages have been indexed):
|
||||||
|
|
||||||
*** all contacts with 'john' in either name or e-mail address
|
*** all contacts with 'john' in either name or e-mail address
|
||||||
#+begin_src sh
|
#+html:<code> $ mu cfind john</code>
|
||||||
$ mu cfind john
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
=mu cfind= takes a regular expression for matching.
|
=mu cfind= takes a regular expression for matching.
|
||||||
|
|
||||||
@ -71,10 +52,7 @@
|
|||||||
e-mail clients. For examples:
|
e-mail clients. For examples:
|
||||||
|
|
||||||
*** export /all/ your contacts to the =mutt= addressbook format
|
*** export /all/ your contacts to the =mutt= addressbook format
|
||||||
|
#+html:<code> $ mu cfind --format=mutt-alias</code>
|
||||||
#+begin_src sh
|
|
||||||
$ mu cfind --format=mutt-alias
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
Other formats are: =plain=, =mutt-ab=, =wl= (Wanderlust), =org-contact=,
|
Other formats are: =plain=, =mutt-ab=, =wl= (Wanderlust), =org-contact=,
|
||||||
=bbdb= and =csv= (comma-separated values).
|
=bbdb= and =csv= (comma-separated values).
|
||||||
@ -85,16 +63,11 @@
|
|||||||
You can retrieve attachments from messages using =mu extract=, which takes a
|
You can retrieve attachments from messages using =mu extract=, which takes a
|
||||||
message file as an argument. Without any other arguments, it displays the
|
message file as an argument. Without any other arguments, it displays the
|
||||||
MIME-parts of the message. You can then get specific attachments:
|
MIME-parts of the message. You can then get specific attachments:
|
||||||
|
#+html:<code> $ mu extract --parts=3,4 my-msg-file</code>
|
||||||
#+begin_src sh
|
|
||||||
$ mu extract --parts=3,4 my-msg-file
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
will get you parts 3 and 4. You can also extract files based on their name:
|
will get you parts 3 and 4. You can also extract files based on their name:
|
||||||
|
|
||||||
#+begin_src sh
|
#+html:<code> $ mu extract my-msg-file '.*\.jpg'</code>
|
||||||
$ mu extract my-msg-file '.*\.jpg'
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
The second argument is a case-insensitive regular expression, and the
|
The second argument is a case-insensitive regular expression, and the
|
||||||
command will extract any files matching the pattern -- in the example, all
|
command will extract any files matching the pattern -- in the example, all
|
||||||
@ -110,9 +83,7 @@
|
|||||||
it with =--color=, or setting the =MU_COLORS= environment variable to
|
it with =--color=, or setting the =MU_COLORS= environment variable to
|
||||||
non-empty.
|
non-empty.
|
||||||
|
|
||||||
#+begin_src sh
|
#+html:<code> $ mu find --color capibara</code>
|
||||||
$ mu find --color capibara
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
(since =mu= version 0.9.6)
|
(since =mu= version 0.9.6)
|
||||||
|
|
||||||
@ -124,9 +95,7 @@
|
|||||||
For example, to get the number of lines in all your messages mentioning
|
For example, to get the number of lines in all your messages mentioning
|
||||||
/banana/, you could use something like:
|
/banana/, you could use something like:
|
||||||
|
|
||||||
#+begin_src sh
|
#+html:<code> $ mu find --fields="'l'" banana | xargs wc -l</code>
|
||||||
$ mu find --fields="'l'" banana | xargs wc -l
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
Note that we use ='l'=, so the returned message paths will be quoted. This is
|
Note that we use ='l'=, so the returned message paths will be quoted. This is
|
||||||
useful if you have maildirs with spaces in their names.
|
useful if you have maildirs with spaces in their names.
|
||||||
@ -134,9 +103,7 @@
|
|||||||
For further processing, also the ~--format=(xml|json|sexp)~ can be useful. For
|
For further processing, also the ~--format=(xml|json|sexp)~ can be useful. For
|
||||||
example,
|
example,
|
||||||
|
|
||||||
#+begin_src sh
|
#+html:<code> $ mu find --format=xml pancake</code>
|
||||||
$ mu find --format=xml pancake
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
will give you a list of pancake-related messages in XML-format.
|
will give you a list of pancake-related messages in XML-format.
|
||||||
|
|
||||||
|
|||||||
@ -19,13 +19,17 @@
|
|||||||
|
|
||||||
** News
|
** News
|
||||||
|
|
||||||
|
- 2011-06-02: after quite a bit of testing, *0.9.6* has been promoted to be
|
||||||
|
the next release -- forget about the 'bèta'. Development continues for
|
||||||
|
the next release.
|
||||||
|
|
||||||
- 2011-05-28: *mu-0.9.6* (bèta). A lot of internal changes, but also quite
|
- 2011-05-28: *mu-0.9.6* (bèta). A lot of internal changes, but also quite
|
||||||
some new features, for example:
|
some new features, for example:
|
||||||
- wild-card searching for most fields: mu find 'car*'
|
- wild-card searching for most fields: mu find 'car*'
|
||||||
- search for message with certain attachments with 'attach:/a:': mu find
|
- search for message with certain attachments with 'attach:/a:': mu find
|
||||||
'attach:resume*'
|
'attach:resume*'
|
||||||
- color for =mu find=, =mu cfind=, =mu extract= and =mu view=
|
- color for =mu find=, =mu cfind=, =mu extract= and =mu view=
|
||||||
Everything is documented in the man-pages, and there are examples in the [[file:mu-cheatsheet.org][mu
|
Everything is documented in the man-pages, and there are examples in the [[file:cheatsheet.org][mu
|
||||||
cheatsheet]].
|
cheatsheet]].
|
||||||
|
|
||||||
- 2011-04-25: *mu-0.9.5* a small, but important, bugfix in maildir-detection,
|
- 2011-04-25: *mu-0.9.5* a small, but important, bugfix in maildir-detection,
|
||||||
|
|||||||
Reference in New Issue
Block a user