mirror of
https://github.com/rclone/rclone.git
synced 2025-06-08 14:07:09 +02:00
* 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
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