<<< Date Index >>>     <<< Thread Index >>>

Re: Hide empty folders



Jacek Wojaczynski wrote:
> > > Mbox files are 0 bytes lenght. The problem is that I can still see
> > > them.
> > > Is it possible to hide empty mboxes (they are defined by "mailboxes"
> > > command in .muttrc file)?
> > yes, check paragraph 6.3.221 in the mutt manual.txt, save_empty.
> What if it doesn't work?
> I tried with entries like this in my .muttrc:
> set nosave_empty
> unset save_empty
> set save_empty=no
> None of the above worked. I don't know why... ??
> After pressing TAB or starting with command "mutt -y" I can still see
> mboxes which are 0 bytes in size.

I just noticed that if I copy some mail to the empty folder, then delete
it... and quit mutt - it works just fine - mutt removes empty folder.
But what to do if some other program (in my case archmbox) clears
folder... How to remove those empty ones? Maybe some shell script?
-- 
kocurek