Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/paultuckey/s3_bucket_to_bucket_copy_py

Script to copy an AWS S3 Bucket to another bucket using many threads in Python
https://github.com/paultuckey/s3_bucket_to_bucket_copy_py

Last synced: 27 days ago
JSON representation

Script to copy an AWS S3 Bucket to another bucket using many threads in Python

Awesome Lists containing this project

README

        

s3_bucket_to_bucket_copy.py
===========================

Script to copy all files (or files with given prefix) from an AWS S3 Bucket in one region to another bucket in a different region using many
threads in Python.

Add a file, .s3cfg, to your home directory with the following format (or download s3cmd and run "s3cmd --configure"):

```
[default]
access_key =
secret_key =
```

Then run:

```
s3_bucket_to_bucket_copy.py [/]
```

Note, For OSX users, make sure the Python boto package is installed:

```
sudo easy_install boto
pip install -U boto
```

When dealing with a very large number of files, you might want to try to use more worker threads:

```
s3_bucket_to_bucket_copy.py [/] -t 100
```

Developed by us guys at [Showcase Workshop](http://www.showcaseworkshop.com).

Other Contributors:

* Joshua Richardson [Chegg, Inc.](http://chegg.com).