One of the challenges with S3-style storage (Wasabi or even AWS S3) is determining the size of a storage bucket. Wasabi started providing this capability via a bucket size feature but AWS S3 still does not offer this feature. This means that it is sometimes necessary to turn to a third-party tool for this purpose. One such tool is S3cmd. S3cmd is a command line tool that allows a user to view and manage their s3 buckets. It can be extremely useful for getting finer details about your s3 buckets.
To start, Download s3cmd here and follow the instructions for installation.
Once installed, run the following.
~$ s3cmd --configureYou will then go through the configuration process step by step to set it up with Wasabi. The image below details the process in its entirety.
The key modifications to make it work with Wasabi are as follows:
Use your Wasabi access and secret access keys when asked.
Default region, then us-east-1.
Change s3.amazonaws.com to s3.wasabisys.com for the s3 endpoint.
Change %(bucket)s.s3.amazonaws.com to %(bucket)s.s3.wasabisys.com in the following step.
The rest should be the same.

Once configured, enter
~$ s3cmdTo get a list of available actions you can perform.
To view your buckets and their respective sizes, enter the following.
~$ s3cmd duThis will list all of your buckets with their number of objects and the total size.
For more info on how to use s3cmd go to http://s3tools.org/s3cmd-howto file.