Accept repeated parameters
[arvados.git] / examples / prediction / setup.sh
1 #!/bin/bash
2 #
3 # Copyright 2011 Google Inc. All Rights Reserved.
4 # Author: rkaplow@google.com (Robert Kaplow)
5 #
6 # Uploads a training data set to Google Storage to be used by this sample
7 # application. 
8 #
9 # Usage:
10 # setup.sh bucket/object 
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
15 OBJECT_NAME=$1
16 gsutil cp data/language_id.txt gs://$OBJECT_NAME