mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 19:05:59 +02:00
aws-s3-mv: add page (#9221)
This commit is contained in:
parent
c8213d12c4
commit
3c4c4117f1
1 changed files with 20 additions and 0 deletions
20
pages/common/aws-s3-mv.md
Normal file
20
pages/common/aws-s3-mv.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# aws s3 mv
|
||||
|
||||
> Move local files or S3 objects to another location locally or in S3.
|
||||
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/mv.html>.
|
||||
|
||||
- Move a file from local to a specified bucket:
|
||||
|
||||
`aws s3 mv {{path/to/local_file}} s3://{{bucket_name}}/{{path/to/remote_file}}`
|
||||
|
||||
- Move a specific S3 object into another bucket:
|
||||
|
||||
`aws s3 mv s3://{{bucket_name1}}/{{path/to/file}} s3://{{bucket_name2}}/{{path/to/target}}`
|
||||
|
||||
- Move a specific S3 object into another bucket keeping the original name:
|
||||
|
||||
`aws s3 mv s3://{{bucket_name1}}/{{path/to/file}} s3://{{bucket_name2}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`aws s3 mv help`
|
Loading…
Add table
Reference in a new issue