opensource.google.com

Menu

Manage cloud storage from the command line with GSUtil

Wednesday, May 19, 2010

GSUtil is a command-line tool that helps developers manage their cloud storage. The tool makes it very easy to explore various features of Google Storage for Developers - in just a few minutes, you can learn how to create a storage bucket, upload objects, and set access controls.

GSUtil is implemented in Python using the popular boto open-source library. We added a new provider-agnostic StorageUri class hierarchy to the library as well as other enhancements that we’ll be giving back to the community. The URI abstraction lets developers use the same commands to access different data sources - including Google Storage, other cloud storage providers, and the local disk.

As developers move to the cloud, there’s a growing concern about getting locked into particular cloud providers. Google Storage supports Data Liberation, so it’s simple to take your data wherever you want with a single GSUtil command:

gsutil cp gs://bucket/* destination

Please sign up for the Google Storage for Developers preview and give GSUtil a try. We’ll also be demoing GSUtil in the Developer Sandbox at the Google I/O conference in San Francisco. We’re looking forward to meeting those of you who are attending.

.