Web lists-archives.org

[kde-linux] How to check kmail has some unread mails ?




In a script, i'd like to check wether kmail has some unread mails.
In order to do so, i found on a mailing list that something like :
`cat /home/christophe/.kde/share/apps/kmail/mail/.*.index | grep -c "0000"`
would do the trick, but it always returns zero. Where am i wrong ?

Thanks.

-- 
christophe

Attachment: pgp03vQRtB2Q4.pgp
Description: PGP signature

___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.