This is a discussion on Re: [courier-users] Command line tool to calculate Maildir size? within the Courier-Imap forums, part of the Mail Servers and Related category; Ben Kennedy wrote: > Kia T. Vang wrote at 5:47 pm (-0500) on 22 6 2005: > >>...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Ben Kennedy wrote:
> Kia T. Vang wrote at 5:47 pm (-0500) on 22 6 2005: > >>Is there a command line tool available that calculates the current Maildir >>size? > > How about 'du'? > > basil ben # du -sh ~zygoat/Maildir > 291K /home/zygoat/Maildir > basil ben # du -sb ~zygoat/Maildir > 107725 /home/zygoat/Maildir > > Although offhand I'm not sure why it's reporting 291 kilobytes as > equalling 107725 bytes here... hmm... Because -b includes --apparent-size. Try again with -B1 instead of -b. Cheers, Juri ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |