shell script to send email with usage of space in the directory as description :

shell script to send email with usage of space in the directory as description :

Please any one help me in writing a script to send email with usage of space in the directory as description .

Rules violation!!

do a try for this one---


du -k dirname | mailx -s diskusage urmailid

Thanks..

Thank you its working fine...