OLD | NEW |
| (Empty) |
1 This directory contains the Python command line tool gsutil, which Google | |
2 has released as open source, to demonstrate the Google Storage API and to | |
3 provide a tool for manipulating data in the system. | |
4 | |
5 Prerequisites: | |
6 | |
7 Gsutil requires Python 2.6 or later. | |
8 | |
9 To install gsutil take the following steps: | |
10 | |
11 1. Pick a place where you want to install the software. You can | |
12 install the code wherever you prefer; for brevity the instructions below | |
13 assume you want to install in $HOME/gsutil. | |
14 | |
15 2. To install gsutil on Linux/Unix or MacOS, open a shell window, change | |
16 directories to where you downloaded the gsutil.tar.gz file, and do this: | |
17 % tar xfz gsutil.tar.gz -C $HOME | |
18 | |
19 Then add the following line to your $HOME/.bashrc shell initialization | |
20 file: | |
21 export PATH=${PATH}:$HOME/gsutil | |
22 | |
23 The next time you start a shell you should be able to run gsutil from | |
24 the command line. | |
25 | |
26 3. To install gsutil on Windows, install cygwin (http://www.cygwin.com/), | |
27 with at least version 2.6.5 of Python. Once you have that, start a shell | |
28 and follow the Linux instructions above for unpacking and installing gsutil. | |
29 | |
30 4. The first time you try to run gsutil, it will detect that you have no | |
31 configuration file containing your credentials, interactively prompt you, | |
32 and create the file. | |
33 | |
34 After this you can use the tool. Running gsutil with with no arguments | |
35 will print a help summary. | |
36 | |
37 For more information on installing and using gsutil, see | |
38 <http://code.google.com/apis/storage/docs/gsutil.html>. | |
OLD | NEW |