Re: Open folder only when there in new mail
On 2004-02-21, romildo@xxxxxxxxxxx wrote:
> Hello.
>
> Is it possible to have
>
> $ mutt -f <folder>
>
> to open <folder> only if there is new mail
> in it? If there is no mail in <folder>,
> mutt should just quit. How to get this
> behaviour?
>From the mutt(1) man page:
OPTIONS
...
-z When used with -f, causes Mutt not to start if there are no
messages in the mailbox.
Gary
--
Gary Johnson | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx | Wireless Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA