Skip to content

Conversation

@mtulio
Copy link

@mtulio mtulio commented Jan 2, 2015

Very good script. Thanks to share.
I'd like to sugest this changes to show KB in each folder.

Printing "MB.KB" size in "Size (MB)" column for each folder:
output:
"
[zimbra@zserver scripts]$ ./zimbra-size.sh admin@example.com
admin@example.com's max mailbox size = 12 MB, current mailbox size = 52.62 MB.

size (MB) msgcount unread folder


    0         0          0 /Chats
    0         0          0 /Drafts
0.412       190        179 /Inbox
    0         0          0 /Junk

52.534 11 0 /Sent
"

Very good script. Thanks to share.
I'd like to sugest this changes to show KB in each folder.

Printing "MB.KB" size in "Size (MB)" column for each folder:
output:
"
[zimbra@zserver scripts]$ ./zimbra-size.sh admin@example.com
admin@example.com's max mailbox size = 12 MB, current mailbox size = 52.62 MB.

size (MB)  msgcount     unread folder
--------- --------- ---------- ----------------------------
        0         0          0 /Chats
        0         0          0 /Drafts
    0.412       190        179 /Inbox
        0         0          0 /Junk
   52.534        11          0 /Sent
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant