Created
December 5, 2014 08:46
-
-
Save guedressel/524f30b1296add6f9a4f to your computer and use it in GitHub Desktop.
List sizes of Zimbra Mailboxes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#> zmaccts | grep '@' | awk -F" " '{print $1}' > /tmp/accounts | |
#> for account in $(< /tmp/accounts); do size=$(zmmailbox -z -m $account gms); echo $account $size; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment