1
0
Fork 0
mirror of https://github.com/Luzifer/cloudkeys-go.git synced 2024-11-15 01:12:44 +00:00
cloudkeys-go/vendor/github.com/aws/aws-sdk-go/example/service/s3/sync
Martin Thielecke 9c6e3c89a5 JS bugfixes (#18)
* fix js scoping issue

* add external libraries (they were offline too often)

* new compiled scripts and css

* new fixes in the binary

* vendor update

* change js source

* remove needless variable

* removed more needless variables
2019-01-21 15:27:20 +01:00
..
README.md JS bugfixes (#18) 2019-01-21 15:27:20 +01:00
sync.go JS bugfixes (#18) 2019-01-21 15:27:20 +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