Dean Staff <[EMAIL PROTECTED]> wrote:
>
> Thanks Charles,
>
> Your suggestion worked.
You're welcome.
> newmail=`ls /home/"$USER"/Maildir/new/ | wc -l`
> newmailbytes=`du -sb /home/"$USER"/Maildir/new/ | cut -f 1`
Hmmm. I actually meant to refer to $HOME in my example, not $USER.
But either works, providing all your homedirs are in fact under /home/ .
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------