lsparts
command is used to list the generated incomplete multipart uploads../coscli lsparts cos://<bucket-name>[/prefix/] [flag]
lsparts
includes the following parameters: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/ |
lsparts
command contains the following optional flags:Flag Abbreviation | Flag Name | Description |
-h | --help | Views the usage of this command. |
None | --include | Includes specific objects. |
None | --exclude | Excludes files with a specific pattern |
None | --limit | Specifies the maximum quantity (0–1000) to be listed. |
bucket1
bucket./coscli lsparts cos://bucket1
KEY | UPLOAD ID | INITIATE TIME---------------+-------------------------------------+----------------------------test.txt | 1671191183635d2b71b1d68a0********** | 2022-01-01T00:00:00.000Z---------------+-------------------------------------+----------------------------TOTAL: 1----------------------------
picture
folder in bucket1
bucket./coscli lsparts cos://bucket1/picture/
Was this page helpful?