Skip to content

Commit

Permalink
Merge branch 'master' of github.com:zytek/s3perka
Browse files Browse the repository at this point in the history
  • Loading branch information
zytek committed Nov 5, 2019
2 parents b59bbca + b06a810 commit cd0b2af
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Jakub Paweł Głazik <zytek@nuxi.pl>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
<img src="https://cdn.onlinewebfonts.com/svg/img_535582.png" width="128" height="128">

# s3perka - copy S3 objects between different AWS partitions (China, GovCloud)

Use this tool if you need to copy S3 objects to/from AWS China or GovCloud, which
are **different AWS partitions** and hence you **cannot** use `aws s3 sync`

It supports massive parallelism (dozens or 100+ simultaneus copies) as this has proven speeding up copying especially to AWS China.
* supports massive parallelism (dozens or 100+ simultaneus copies) as this has proven speeding up copying especially to AWS China
* only copies files from source, that do not exist or whose size on destination differs
* does not delete files on destination bucket

# Installation

Expand All @@ -13,7 +17,7 @@ cd ~/git
git clone https://github.com/zytek/s3perka
cd s3perka
```
2. Using go 1.13+ run
2. Build, using go 1.13+ for module support

```go build```

Expand All @@ -39,6 +43,6 @@ parallel=50

# Caveats

* `s3perka` downloads files on disk and then uploads them. Currently there is no "on-the-fly" copy mode
* `s3perka` downloads files on disk and then uploads them. Currently there is no "on-the-fly" (in-memory) copy mode
* make sure you have enough disk space for largest file to fit
* make sure youd HDD can handle such parallelism level

0 comments on commit cd0b2af

Please sign in to comment.