| /** | |
| * USB HID Keyboard scan codes as per USB spec 1.11 | |
| * plus some additional codes | |
| * | |
| * Created by MightyPork, 2016 | |
| * Public domain | |
| * | |
| * Adapted from: | |
| * https://source.android.com/devices/input/keyboard-devices.html | |
| */ |
Quick and dirty Bash script to iterate an S3 bucket and remove all object versions and delete markers.
Probably only usable on buckets with a few hundred version objects maximum, otherwise it might be more efficient and time effective to use a lifecycle rule to age out and remove objects in bulk.
| # List of all (public) AWS regions as of Jun 15, 2021 | |
| locals { | |
| aws_regions_list = [ | |
| "ap-northeast-1", | |
| "ap-northeast-2", | |
| "ap-northeast-3", | |
| "ap-south-1", | |
| "ap-southeast-1", | |
| "ap-southeast-2", | |
| "ca-central-1", |