sorry to reply to my own message, but i think i may have figured it out.
ls -al $HOME/mail/* |awk '{print $9}' |grep -v sent
produces
/home/user/mail/inbox
/home/user/mail/mutt-users
and so on. is there any reason that i couldn't replace the echo command with the ls
-al one for my mailboxes directive in .muttrc?
* dan radom ([EMAIL PROTECTED]) wrote:
> I'm defining mailboxes in ~/.muttrc as follows...
>
> mailboxes `echo $HOME/mail/*` /var/spool/mail/graffix
>
> ...that works fine for displaying notifications about new messages in those folders.
> the problem is is that $HOME/mail/* includes sent (set record=~/mail/sent), and i'd
>rather not get notifications for new messages in the sent folder. it doesn't look
>like i can replace the mailboxes echo with something like `echo $HOME/mail/* |grep -v
>sent` sa the output of the echo command is all on one line. Is there any way to not
>get notifications of new messages in sent, while not having to specify every single
>mailbox for the mailboxes directive in .muttrc?
>
> thanks,
>
> dan