How To Install s3cmd
erics, June 7th, 2013
Install Procedure Download and extract into /usr/local: http://downloads.sourceforge.net/project/s3tools/s3cmd/1.0.1/s3cmd-1.0.1.tar.gz
1 2 3 4 5 6 |
cd /usr/local/bin ln -s /usr/local/s3cmd-1.0.1/s3cmd /usr/local/bin/s3cmd --configure Access Key: {ACCESS_KEY} Secret Key: {SECRET_KEY} Encryption password: {PASSWORD} |
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, […]