add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

29
pages.zh/common/aws-s3.md Normal file
View File

@@ -0,0 +1,29 @@
# aws s3
> AWS S3的命令行界面 - 通过Web服务接口提供存储。
> 一些子命令,如`cp`,有其自己的使用文档。
> 更多信息:<https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/index.html>。
- 显示存储桶中的文件:
`aws s3 ls {{bucket_name}}`
- 从本地同步文件和目录到存储桶:
`aws s3 sync {{path/to/file1 path/to/file2 ...}} s3://{{bucket_name}}`
- 从存储桶同步文件和目录到本地:
`aws s3 sync s3://{{bucket_name}} {{path/to/target}}`
- 带排除项的文件和目录同步:
`aws s3 sync {{path/to/file1 path/to/file2 ...}} s3://{{bucket_name}} --exclude {{path/to/file}} --exclude {{path/to/directory}}/*`
- 从存储桶中删除文件:
`aws s3 rm s3://{{bucket}}/{{path/to/file}}`
- 仅预览更改:
`aws s3 {{any_command}} --dryrun`