Joe Gregorio | 266c644 | 2011-02-23 16:08:54 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # Copyright 2011 Google Inc. All Rights Reserved. |
| 4 | # Author: jcgregorio@google.com (Joe Gregorio) |
| 5 | # |
| 6 | # Uploads a training data set to Google Storage to be used by this sample |
Joe Gregorio | 65826f9 | 2011-06-03 11:20:29 -0400 | [diff] [blame^] | 7 | # application. |
| 8 | # |
| 9 | # Usage: |
| 10 | # setup.sh bucket/object |
Joe Gregorio | 266c644 | 2011-02-23 16:08:54 -0500 | [diff] [blame] | 11 | # |
| 12 | # Requirements: |
| 13 | # gsutil - a client application for interacting with Google Storage. It |
| 14 | # can be downloaded from https://code.google.com/apis/storage/docs/gsutil.html |
Joe Gregorio | 65826f9 | 2011-06-03 11:20:29 -0400 | [diff] [blame^] | 15 | OBJECT_NAME=$1 |
| 16 | gsutil cp language_id.txt gs://$OBJECT_NAME |