0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

AWS S3操作コマンド(自分用)

Posted at
Page 1 of 2
aws configure
aws s3 mb s3://<バケット名> --region ap-northeast-1
aws s3 cp [ローカルファイルパス] s3://[バケット名]/[オブジェクトキー]
aws s3 ls s3://バケット名/
C:\Users\XX>aws s3 mb s3://************ --region us-east-1
make_bucket: ********

C:\Users\XX>aws s3 ls
2025-08-13 13:26:20 ********
2025-08-19 11:20:33 ********

C:\Users\XX>aws s3 cp test.pdf s3://********/test/test.pdf
Completed 191.6 KiB/191.6 KiB (79.0 KiB/s) with 1 file(s) remainingupload: .\test.pdf to s3://*********/test/test.pdf

C:\Users\XX>aws s3 ls s3://********/test/
2025-08-19 11:36:12 196228 test.pdf

C:\Users\XX>aws s3 ls s3://********/test/
2025-08-19 15:39:11 196228 test.docx
2025-08-19 11:36:12 196228 test.pdf

C:\Users\XX>aws s3 rm s3://********/test/test.pdf
delete: s3://********/test/test.pdf

C:\Users\XX>aws s3 ls s3://********/test/
2025-08-19 15:39:11 196228 test.docx
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?