Notes

Repo for code notes etc.

Convert All S3 Objects to RRD

1
2
3
4
5
6
7
8
#!/usr/bin/env python

import boto

s3 = boto.connect_s3()
b  = boto.lookup('bucket')

[x.change_storage_class('REDUCED_REDUNDANCY') for x in b.list() if x.storage_class == 'STANDARD']