* cheatsheet.org: mention the --exec parameter for mu find
This commit is contained in:
@ -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
|
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:
|
||||||
|
|
||||||
#+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.
|
useful if you have maildirs with spaces in their names.
|
||||||
|
|
||||||
For further processing, also the ~--format=(xml|sexp)~ can be useful. For
|
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.
|
will give you a list of pancake-related messages in XML-format.
|
||||||
|
|
||||||
|
|
||||||
#+html:<hr/><div align="center">© 2011-2012 Dirk-Jan C. Binnema</div>
|
#+html:<hr/><div align="center">© 2011-2012 Dirk-Jan C. Binnema</div>
|
||||||
#+begin_html
|
#+begin_html
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|||||||
Reference in New Issue
Block a user