https://github.com/dutchcoders/s3-tools
s3-tools contains several tools for use with Amazon S3.
https://github.com/dutchcoders/s3-tools
Last synced: 4 months ago
JSON representation
s3-tools contains several tools for use with Amazon S3.
- Host: GitHub
- URL: https://github.com/dutchcoders/s3-tools
- Owner: dutchcoders
- License: mit
- Created: 2014-09-07T09:02:17.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-18T09:59:20.000Z (over 10 years ago)
- Last Synced: 2024-12-27T09:12:33.601Z (6 months ago)
- Language: Go
- Homepage:
- Size: 170 KB
- Stars: 1
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
s3-tools
=======Collection of multiple s3 tools
[](https://travis-ci.org/dutchcoders/s3-tools)
s3-copy
=======s3-copy will copy the content of Amazon S3 buckets from one account to the same or another account.
```
go get github.com/goamz/goamz/aws
go get github.com/goamz/goamz/s3go run s3-copy.go s3://ACCESS_KEY:SECRET_KEY@source s3://ACCESS_KEY:SECRET_KEY@destination
```s3-delete
=======s3-delete will bulk delete the contents of an Amazon S3 bucket
```
go get github.com/goamz/goamz/aws
go get github.com/goamz/goamz/s3go run s3-delete.go s3://ACCESS_KEY:SECRET_KEY@source
```s3-archive
=======s3-archive will archive files older then 1 month to Amazon S3 bucket with optional move
```
go get github.com/goamz/goamz/aws
go get github.com/goamz/goamz/s3export AWS_ACCESS_KEY={AWS_ACCESS_KEY}
export AWS_SECRET_KEY={AWS_SECRET_KEY}
export BUCKET={BUCKET}go run s3-archive --destination=dest --move=false /tmp/
```If your password contains special characters, you need to url encode them. For example / will be %2F.
TODO
====* support other regions
* support for paths
* support for wildcards
* add progress
* add statistics (upload speed)
* etcCONTRIBUTIONS
============Contributions are welcome.