uploader

command module
v0.0.0-...-b544247 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2015 License: MIT Imports: 15 Imported by: 0

README

Go File Uploader

Watch for new files in a given directory and upload them to a remote location.

Usage

Upload to a Swift container:

$ go build .
$ ./uploader -h
$ ./uploader  --dir ./test  --identity-endpoint https://auth.runabove.io/v2.0  --username <username>  --password <password> --tenant-id <tenant-id>  --swift-region <region>  --container-name test

You can use the provider uploader.service to deploy the uploader on a given box. I personnaly use Ansible to do so. Note that you will need a new user uploader. You can change the user in the service file.

Build

Generate release assets:

$ go build .
$ ./uploader -h
$ goxc -bc="linux,amd64 darwin,amd64" -pv=0.2.1

License

The MIT license

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL