./coscli lsdu cos://<bucket-name>[/prefix/] [flags]
Parameter Format | Description | Example |
cos://<bucket-name> | Specifies the target bucket, which is accessible by using the bucket alias or bucket name configured in the configuration file as detailed in Download and Installation Configuration. If you use the bucket name for access, you also need to include the endpoint flag. | Access with the bucket alias: cos://example-alias Access with the bucket name: cos://examplebucket-1250000000 |
/prefix/ | Specifies a directory (optional). | /picture/ |
Flag Abbreviation | Flag Name | Description |
-h | --help | Views the usage of this command. |
No | --include | Includes specific objects. |
No | --exclude | Excludes specific objects. |
./coscli lsdu cos://bucket1/
NAME | OBJECTS COUNT | TOTAL SIZE---------------------+---------------+-------------300123/ | 1 | 300.00 MB300s/ | 1 | 100.00 MB300u/ | 301 | 8.22 GBactivity/ | 35 | 129.08 KBtest/ | 1 | 3 Btest100/ | 20 | 20.00 GBtest5/ | 6 | 9.00 GBtestrm/ | 1 | 0 B10GB_file | 1 | 11.72 GB1GB_file | 1 | 1.00 GB
./coscli lsdu cos://bucket1/picture/
Apakah halaman ini membantu?