Command | Description |
getallpartsize | Queries the size of each part of incomplete multipart upload tasks in a bucket and the total size of these parts. |
appendfromfile | Uploads a local file to an append object in OSS by using append upload. |
cors | Adds cross-origin resource sharing (CORS) configurations to a bucket, or modifies, queries, and deletes the CORS configurations of a bucket. |
bucket-encryption | Adds encryption configurations to a bucket, or modifies, queries, and deletes the encryption configurations of a bucket. |
lifecycle | Adds lifecycle rule configurations to a bucket, or modifies, queries, and deletes the lifecycle rule configurations of a bucket. |
logging | Adds logging configurations to a bucket, or modifies, queries, and deletes the logging configurations of a bucket. |
bucket-policy | Adds bucket policy configurations to a bucket, or modifies, queries, and deletes the bucket policy configurations of a bucket. |
referer | Adds hotlink protection configurations to a bucket, or modifies, queries, and deletes the hotlink protection configurations of a bucket. |
bucket-tagging | Adds tagging configurations to a bucket, or modifies, queries, and deletes the tagging configurations of a bucket. |
website | Adds static website hosting, redirection, or back-to-origin configurations to a bucket, or modifies, queries, and deletes the static website hosting, redirection, or back-to-origin configurations of a bucket. |
cat | Exports object content to stdout. |
cors-options | Tests whether a bucket allows a specified cross-origin request. |
cp | Uploads, downloads, or copies objects. |
create-symlink | Creates a symbolic link. |
du | Obtains the capacity of a bucket or the size of a specified directory. |
hash | Calculates the CRC-64 or MD5 value of a local file. |
help | Queries the help information about a command. We recommend that you run the help command to query the information about how to run a specified command. |
listpart | Lists the parts generated in an incomplete multipart upload task initiated for an object. |
ls | Lists buckets, objects, or parts. |
mb | Creates a bucket. |
mkdir | Creates a directory in a bucket. In OSS, directory names are suffixed with a forward slash (/ ). |
object-tagging | Adds tagging configurations to a bucket, or modifies, queries, and deletes the tagging configurations of an object. |
probe | Monitors access to OSS. You can also run this command to troubleshoot issues that are caused by network faults or invalid parameter settings during the upload and download process. |
read-symlink | Reads the description of a symbolic link. |
request-payment | Configures the pay-by-requester mode for a bucket or queries the pay-by-requester configurations of a bucket. |
restore | Restores an object from the frozen state to the readable state. |
rm | Deletes buckets, objects, or parts. |
set-acl | Configures the access control list (ACL) for a bucket or an object. |
set-meta | Configures the metadata of an uploaded object. |
sign | Generates a signed download URL for an object. |
stat | Obtains the description of a specified bucket or object. |