Skip to content

Instantly share code, notes, and snippets.

@jcabrerizo
Created February 12, 2021 13:47
Show Gist options
  • Save jcabrerizo/28a39ae675128e5207bc907da7572890 to your computer and use it in GitHub Desktop.
Save jcabrerizo/28a39ae675128e5207bc907da7572890 to your computer and use it in GitHub Desktop.

Revisions

  1. jcabrerizo created this gist Feb 12, 2021.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    for bucket in $(aws --profile qa-test s3 ls | awk '{print $3}' | grep test-persistence-); do aws s3 --profile qa-test rb "s3://${bucket}" --force ; done