User Tools

Site Tools


guides:amazon_ec2:s3cmd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

guides:amazon_ec2:s3cmd [2016/04/16 18:16] (current)
michaelc created
Line 1: Line 1:
 +====== S3cmd ======
  
 +Amazon S3 Tools: Command Line S3 Client Software and S3 Backup
 +
 +Install git and python-setuptools
 +<​code>​
 +sudo apt-get install git python-setuptools
 +</​code>​
 +
 +Grab latest S3cmd code from git
 +<​code>​
 +git clone https://​github.com/​s3tools/​s3cmd
 +</​code>​
 +
 +Use python to install cleanly
 +<​code>​
 +sudo python setup.py install
 +</​code>​
 +
 +Now you can run s3cmd anywhere!
 +
 +First thing is to configure s3cmd
 +<​code>​
 +s3cmd --configure
 +</​code>​
 +
 +s3cmd config file is found here **~/​.s3cfg**
 +
 +----
 +
 +Sync local files to s3
 +<​code>​
 +s3cmd sync /localdir/ s3://​somebucketname/​remotedir/​
 +</​code>​
guides/amazon_ec2/s3cmd.txt · Last modified: 2016/04/16 18:16 by michaelc