rclone/vendor/github.com/aws/aws-sdk-go/example/service/s3/sync
Nick Craig-Wood 6427029c4e vendor: update all dependencies
* Update all dependencies
  * Remove all `[[constraint]]` from Gopkg.toml
  * Add in the minimum number of `[[override]]` to build
  * Remove go get of github.com/inconshreveable/mousetrap as it is vendored
  * Update docs with new policy on constraints
2018-05-05 15:52:24 +01:00
..
README.md vendor: update all dependencies 2018-05-05 15:52:24 +01:00
sync.go vendor: update all dependencies 2018-05-05 15:52:24 +01:00

Example

sync will upload a given directory to Amazon S3 using the upload iterator interface defined in the s3manager package. This example uses a path that is specified during runtime to walk and build keys to upload to Amazon S3. It will use the keys to upload the files/folders to Amazon S3.

Usage

sync <params>
	-region <region> // required
	-bucket <bucket> // required
	-path  <path> // required
go run -tags example sync.go 
	-region <region> // required
	-bucket <bucket> // required
	-path  <path> // required

Output:

success