2011-08-02 16:44:56 +00:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
# Copyright 2011 Google Inc. All Rights Reserved.
|
|
|
|
# Author: rkaplow@google.com (Robert Kaplow)
|
|
|
|
#
|
|
|
|
# Uploads a training data set to Google Storage to be used by this sample
|
|
|
|
# application.
|
|
|
|
#
|
|
|
|
# Usage:
|
|
|
|
# setup.sh bucket/object
|
|
|
|
#
|
|
|
|
# Requirements:
|
|
|
|
# gsutil - a client application for interacting with Google Storage. It
|
|
|
|
# can be downloaded from https://code.google.com/apis/storage/docs/gsutil.html
|
|
|
|
OBJECT_NAME=$1
|
2011-10-06 08:41:09 +00:00
|
|
|
gsutil cp data/language_id.txt gs://$OBJECT_NAME
|