On Wed, Sep 23, 2009 at 08:21:35AM -0500, Kyle Wheeler wrote:
> On Wednesday, September 23 at 08:16 PM, quoth Wu, Yue:
> >Hi, list, question is how to use some commands(i.g. shell commands) to remove
> >the empty maildirs, i.e. no any file in maildirs' new/ cur/ and tmp/?
> 
> If you know it won't be re-created or delivered to while you're 
> fussing with it, you can just use `rm -r maildirname` or even `rmdir 
> maildirname/new maildirname/cur maildirname/tmp maildirname`
> 
That assumes you know its name, with maildir it's quite possible that
it *won't* have the name you expect, it could well be a long name with
the whole virtual directory/folder hierarchy prepended.

-- 
Chris Green

Reply via email to