Skip to content

Instantly share code, notes, and snippets.

@EdLeafe
Created June 12, 2013 14:53
Show Gist options
  • Save EdLeafe/5766005 to your computer and use it in GitHub Desktop.
Save EdLeafe/5766005 to your computer and use it in GitHub Desktop.
import pyrax
pyrax.keyring_auth()
cf = pyrax.cloudfiles
my_folder = "/path/to/folder"
container = cf.get_container("my container")
cf.sync_folder_to_container(my_folder, container)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment