User Tools

Site Tools


ubuntu:email:get_disk_usage_for_each_mail_box_in_domain

Email - Get disk usage for each mail box in domain

du -sk /var/mail/sharewiz.net/* | sort -nr | awk '{ print $2 }' | while read f ; do du -sh "$f" | awk -F /var/mail/sharewiz.net/ '{ print $1, "\t", $2 }' ; done
ubuntu/email/get_disk_usage_for_each_mail_box_in_domain.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki