Skip to content

Instantly share code, notes, and snippets.

@batok
Created October 1, 2010 15:01
Show Gist options
  • Save batok/606322 to your computer and use it in GitHub Desktop.
Save batok/606322 to your computer and use it in GitHub Desktop.
import boto, sys
c = boto.connect_s3()
b = c.get_bucket(sys.argv[1], validate = False)
for key in b.get_all_keys():
print key.name, key.etag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment