- Clone this
git clone https://gist.github.com/01f95213129dfeaf4ebf80decfe27c4c.git
- Have all object to be deleted in a file (e.g.
files.txt
) separated by new line - Have AWS CLI configured
- Run the whole thing
echo files.txt | ./delete.sh
It will delete 1000 items per call (maximum allowed).