1.0.4 • Published 8 years ago

stream-upload-file-s3 v1.0.4

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

#Installing

$ npm install -g stream-upload-file-s3 

#Configure

config.json:

{
  "accessKeyId": "",
  "secretAccessKey": "",
  "region": "eu-west-1",
  "bucket": ""
}

#Usage

command:

stream-upload-file-s3 -c <config> -file <file> -bucket bucket 

Parameters:

  • config: location of config with json from above. Config can also be optional but then a .config should be available in current working directory
  • file: Required paremeter: location of file to put in bucket
  • bucket: To override bucket config.json

#Add alias.

If desired you could create a function(shortcut) for this in your bash_aliases for example:

s3upload () { stream-upload-file-s3 --config /Users/alfredwesterveld/.config/stream-upload-file-s3/config.json --filename "$@"; }

Then you can just use s3upload #filename

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago