Skip to content

woocart/gsutil

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build Status

gscp

gscp is a go application that lets you upload, download objects from Google Cloud Storage.

Installation

Export GOOGLE_APPLICATION_CREDENTIALS to enviroment with path to your authentication file. You can follow https://cloud.google.com/docs/authentication/getting-started#setting_the_environment_variable for more detailed instructions.

Download gscp from Releases

Examples

echo "test" | gscp stdio gs://bucket/test/files   # read from stdin
echo "test" | gscp stdio gs://bucket/test/files key=value # set custom metadata
gscp gs://bucket/test/files stdio  # read to stdout
usage: gscp [<flags>] <from> <to> [<metadata>...]

Copies data from and to Google Cloud Storage

Flags:
  --help     Show context-sensitive help (also try --help-long and --help-man).
  --version  Show application version.

Args:
  <from>        where to read from: gs://bucketname/path or - from stdin or /path/ for local file
  <to>          Where to write to: gs://bucketname/path or - to stdout or /path/ for local file
  [<metadata>]  KV pairs to append to uploaded object

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published