• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2#
3# Copyright 2014 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
7# application.
8#
9# Usage:
10# setup.sh file_name 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
15FILE_NAME=$1
16OBJECT_NAME=$2
17gsutil cp $FILE_NAME gs://$OBJECT_NAME
18