[PLUG] Directory size
Paul Heinlein
heinlein at madboa.com
Wed Nov 10 17:54:21 UTC 2004
On Wed, 10 Nov 2004, Michael H. Collins wrote:
> When I was using /var/spool/mail it was easy to determine who had how much
> mail. Now I am using Maildir which puts it in ones /home/foo/Maildir/new
> directory.
>
> What would be the simplest way to find out and list who has how much mail?
# how much unread mail in general inbox
du -sh /home/*/Maildir/new
# how much read mail in general inbox
du -sh /home/*/Maildir/cur
# how much total mail: inbox + all folders
du -sh /home/*/Maildir
-- Paul Heinlein <heinlein at madboa.com>
More information about the PLUG
mailing list