diff options
| author | djcb <djcb@localhost.localdomain> | 2012-02-19 11:05:55 +0200 |
|---|---|---|
| committer | djcb <djcb@localhost.localdomain> | 2012-02-19 11:05:55 +0200 |
| commit | ad134547cc70b3b4aa09816b592a11eeb2152969 (patch) | |
| tree | db635428382b7b96cade8417cbb57a8b30540ba3 /www | |
| parent | 1a5eec4a8421822e00697c6bb5505c4b0430dc66 (diff) | |
* cheatsheet.org: mention the --exec parameter for mu find
Diffstat (limited to 'www')
| -rw-r--r-- | www/cheatsheet.org | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/www/cheatsheet.org b/www/cheatsheet.org index d2f41a0..924986b 100644 --- a/www/cheatsheet.org +++ b/www/cheatsheet.org @@ -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"> |
