You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
490 B
18 lines
490 B
#!/bin/bash
|
|
#
|
|
# Copyright 2014 Google Inc. All Rights Reserved.
|
|
# Author: jcgregorio@google.com (Joe Gregorio)
|
|
#
|
|
# Uploads a training data set to Google Storage to be used by this sample
|
|
# application.
|
|
#
|
|
# Usage:
|
|
# setup.sh file_name 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
|
|
FILE_NAME=$1
|
|
OBJECT_NAME=$2
|
|
gsutil cp $FILE_NAME gs://$OBJECT_NAME
|