Quoting fe...@crowfix.com on 2010-08-30 11:00:25, in Message-Id <20100830160025.ga23...@crowfix.com>
[Snip: Several failed attempts, all of which I'd tried myself] > Any suggestions? mailboxes `find ~/mail -mindepth 1 -maxdepth 1 \( -type d -not -name 'localhost' -not -name '.*' -printf "+'%f' " \) , \( -type f -name '*_archive.gz' -printf "+'%f' " \)` Fairly convoluted, but automatically updates the mailboxes definition [1]. Pretty quick to run, too. What it does is prints just the name of every directory not named 'localhost', not having a name beginning with a dot, and the name of every file ending in '_archive.gz' -- each with a + prepended. [1] From reading Mutt manual section 3.13, I'm under the impression that my mailboxes command is executed only upon mutt startup, or at any other time that my muttrc is sourced. Adding appropriate beep commands to my mailboxes command seems to confirm. -- _ Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 . ( ) ICQ UIN: 43190205 | Mail/MSN/Jabber: brianlry...@gmail.com ..: X ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org / \ "The most powerful optimization tool . . . may be the Delete key." -- Eric S. Raymond
signature.asc
Description: Digital signature