Created
May 21, 2021 14:39
-
-
Save ajtrichards/cfab61de1b570340bb55ae8b24fff258 to your computer and use it in GitHub Desktop.
AWS S3 - Delete files from a bucket with a prefix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws s3 rm s3://BUCKET_NAME --recursive --exclude "*" --include "FILE_PREFIX-W*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment