You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This is needed for https://chromiumcodereview.appspot.com/12042069/ Which uses gsutil to download objects from Google Storage based on SHA1 sums Continuation of: https://chromiumcodereview.appspot.com/12317103/ Rietveld didn't like a giant CL with all of gsutil (kept crashing on upload), The CL is being split into three parts Related: https://chromiumcodereview.appspot.com/12755026/ (gsutil/boto) https://chromiumcodereview.appspot.com/12685010/ (gsutil/gslib) BUG= Review URL: https://codereview.chromium.org/12685009 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@188896 0039d316-1c4b-4281-b951-d872f2087c98 |
12 years ago | |
---|---|---|
.. | ||
gslib | 12 years ago | |
oauth2_plugin | 12 years ago | |
CHECKSUM | 12 years ago | |
COPYING | 12 years ago | |
LICENSE.third_party | 12 years ago | |
MANIFEST.in | 12 years ago | |
README | 12 years ago | |
README.chromium | 12 years ago | |
README.pkg | 12 years ago | |
ReleaseNotes.txt | 12 years ago | |
VERSION | 12 years ago | |
gsutil | 12 years ago | |
gsutil.spec.in | 12 years ago | |
pkg_util.py | 12 years ago |
README
This directory contains the Python command line tool gsutil, which Google has released as open source, to demonstrate the Google Storage API and to provide a tool for manipulating data in the system. Prerequisites: Gsutil requires Python 2.6 or later. To install gsutil take the following steps: 1. Pick a place where you want to install the software. You can install the code wherever you prefer; for brevity the instructions below assume you want to install in $HOME/gsutil. 2. To install gsutil on Linux/Unix or MacOS, open a shell window, change directories to where you downloaded the gsutil.tar.gz file, and do this: % tar xfz gsutil.tar.gz -C $HOME Then add the following line to your $HOME/.bashrc shell initialization file: export PATH=${PATH}:$HOME/gsutil The next time you start a shell you should be able to run gsutil from the command line. 3. To install gsutil on Windows, install cygwin (http://www.cygwin.com/), with at least version 2.6.5 of Python. Once you have that, start a shell and follow the Linux instructions above for unpacking and installing gsutil. 4. The first time you try to run gsutil, it will detect that you have no configuration file containing your credentials, interactively prompt you, and create the file. After this you can use the tool. Running gsutil with with no arguments will print a help summary. For more information on installing and using gsutil, see <http://code.google.com/apis/storage/docs/gsutil.html>.