How To Install s3cmd

Published Date Author: , Posted June 7th, 2013 at 2:10:14pm

Install Procedure

Download and extract into /usr/local:

http://downloads.sourceforge.net/project/s3tools/s3cmd/1.0.1/s3cmd-1.0.1.tar.gz

Configuration saved to '/root/.s3cfg'

Command Line Examples

List all buckets:
s3cmd ls
Make a new bucket in the default region (US):
s3cmd mb s3://{YOUR_BUCKET_HERE}
Make a new bucket in a specific region:
s3cmd mb --bucket-location={DATACENTER} s3://{YOUR_BUCKET_HERE}
As of now the datacenters are: US (default), EU, us-west-1, and ap-southeast-1
Remove an empty bucket:
s3cmd rb s3://{YOUR_BUCKET_HERE}
Delete all files in a bucket:
s3cmd del --recursive --force s3://{YOUR_BUCKET_HERE}

Original Website Links

http://s3tools.org/s3cmd
http://s3tools.org/s3cmd-sync

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.