yc storage s3 mv
Moves a local file or S3 object to another location locally or in S3
Command Usage
Syntax:
yc storage s3 mv <LocalPath> <S3Uri> or <S3Uri> <LocalPath> or <S3Uri> <S3Uri> [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
Symbolic links are followed only when uploading to S3 from the local filesystem. Note that S3 does not support symbolic links, so the contents of the link target are uploaded under the name of the link. |
|
|
Command is performed on all files or objects under the specified directory or prefix. |
|
|
Sets a predefined ACL for an object. |
|
|
Exclude all files or objects from the command that matches the specified pattern. |
|
|
Do not exclude files or objects in the command that match the specified pattern. |
|
|
The encryption algorithm of an uploaded object. Possible values: aws:kms. |
|
|
Object storage class. |
|
|
User-defined metadata. |
|
|
The number of items to return per page. |
|
|
Displays the operations that would be performed using the specified command without actually running them. |
|
|
Does not display the operations performed from the specified command. |
|
|
Disable automatic pagination. If automatic pagination is disabled, the CLI will only make one call, for the first page of results. |
|
|
Only errors and warnings are displayed. All other output is suppressed. |
|
|
Directives for caching data according to RFC 2616. |
|
|
Name Object Storage will suggest for the object to save it as a file when downloaded. Compliant with RFC 2616. |
|
|
Defines the content encoding according to RFC 2616. |
|
|
Data type in a request. |
|
|
The date and time at which the object is no longer cacheable. |
|
|
The ID of the KMS key for encrypting an uploaded object. |
|
|
Confirms that the requester knows that she or he will be charged for the request. |
|
|
The language the content is in. |
|
|
Grant specific permissions to individual users or groups. |
|
|
Indicates the algorithm used to create the checksum for the object. |
|
|
Determines which properties are copied from the source S3 object. This parameter only applies for S3 to S3 copies. Valid values are: none, metadata-directive, default. |
|
|
Do not try to guess the mime type for uploaded files. By default the mime type of a file is guessed when it is uploaded. |
Global Flags
|
Flag |
Description |
|
|
Set the custom configuration file. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the ID of the cloud to use. |
|
|
Set the ID of the folder to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the OAuth token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Query to select values from the response using jq syntax |
|
|
Display help for the command. |