LoginSignup
0
0

More than 3 years have passed since last update.

AWS CLIコマンド備忘録

Posted at

よく使うAWS CLIコマンドの備忘録です

S3

指定したキーワードのファイルをS3バケットから削除

$ aws s3 ls s3://<BUCKET NAME> --recursive | grep -v '/$' | awk '{print $4}' | grep <SEARCH_KEYWORD> | awk {'print "aws s3 rm s3://<BUCKET NAME>/" $1'}| bash
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