Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajtrichards/cfab61de1b570340bb55ae8b24fff258 to your computer and use it in GitHub Desktop.
Save ajtrichards/cfab61de1b570340bb55ae8b24fff258 to your computer and use it in GitHub Desktop.
AWS S3 - Delete files from a bucket with a prefix
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