mirror of https://github.com/djcb/mu.git
* cheatsheet.org: mention the --exec parameter for mu find
This commit is contained in:
parent
1a5eec4a84
commit
ad134547cc
|
@ -129,9 +129,9 @@ If =mu= did not guess the right Maildir, you can set it explicitly:
|
|||
For example, to get the number of lines in all your messages mentioning
|
||||
/banana/, you could use something like:
|
||||
|
||||
#+html:<pre> $ mu find --fields="'l'" banana | xargs wc -l</pre>
|
||||
#+html:<pre> $ mu find --exec='wc -l'</pre>
|
||||
|
||||
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.
|
||||
|
||||
For further processing, also the ~--format=(xml|sexp)~ can be useful. For
|
||||
|
@ -141,7 +141,6 @@ If =mu= did not guess the right Maildir, you can set it explicitly:
|
|||
|
||||
will give you a list of pancake-related messages in XML-format.
|
||||
|
||||
|
||||
#+html:<hr/><div align="center">© 2011-2012 Dirk-Jan C. Binnema</div>
|
||||
#+begin_html
|
||||
<script type="text/javascript">
|
||||
|
|
Loading…
Reference in New Issue