mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
21 lines
602 B
Markdown
21 lines
602 B
Markdown
![]() |
# aws s3 rm
|
||
|
|
||
|
> S3 객체 삭제.
|
||
|
> 더 많은 정보: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/rm.html>.
|
||
|
|
||
|
- 특정 S3 객체 삭제:
|
||
|
|
||
|
`aws s3 rm s3://{{버킷_이름}}/{{경로/대상/파일}}`
|
||
|
|
||
|
- 특정 S3 객체를 삭제하지 않고 삭제 결과를 미리보기 (dry-run):
|
||
|
|
||
|
`aws s3 rm s3://{{버킷_이름}}/{{경로/대상/파일}} --dryrun`
|
||
|
|
||
|
- 특정 S3 액세스 포인트에서 객체 삭제:
|
||
|
|
||
|
`aws s3 rm s3://arn:aws:s3:{{리전}}:{{계정_아이디}}:{{액세스_포인트}}/{{액세스_포인트_이름}}/{{객체_키}}`
|
||
|
|
||
|
- 도움말 표시:
|
||
|
|
||
|
`aws s3 rm help`
|