Created
November 5, 2010 19:20
-
-
Save smbrown/664633 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import cloudfiles | |
| conn = cloudfiles.get_connection('johnsmith', '123477777889000') | |
| cont = cloudfiles.connection.Connection.get_container(conn,'.CDN_ACCESS_LOGS') | |
| for obj in cont.get_objects(): | |
| obj.save_to_filename(obj.etag + '.gz') | |
| print obj.etag |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment