On Thu, Jul 15, 2010 at 08:07:19AM +0200, Gregor Zattler wrote:
>Hi rogerx, mutt-users,
>* [email protected] <[email protected]> [14. Jul. 2010]:
>> How can I exclude one folder from my mailbox list using a find
>> pipe?
>> 
>> muttrc:
>> mailboxes `find ~/.maildir/ -type d -name cur -printf '%h '`
>> 
>[...]
>> To clarify, I only want to omit my "/home/roger/.maildir/.roger" folder
>> and not my other folders such as "/home/roger/.maildir/[email protected]"
>> folder(s).
>
>How about 
>mailboxes `find ~/.maildir/ -type d -name cur -printf '%h\n'|grep -v 
>'/home/roger/.maildir/.roger$'|tr "\n" " "`

On second try, this one actually does work!

-- 
Roger
http://rogerx.freeshell.org/

Reply via email to