HowTo: Install AWS CLI - Amazon Simple Storage Service (S3) - s3cmd
While s3curl.pl allows command line access to Amazon S3, it will only work one file at a time, we have to read XML for “directory” listings, and requires we know details about S3 (like how to list more than 1000 objects in a single request, or how to list a “directory”/start with a prefix). s3cmd
, from Michal Ludvig, gives a much simpler way of interfacing with Amazon S3 on the command line.
Install options
GitHub
Console - user@hostname ~ $
1
2
3
git clone https://github.com/s3tools/s3cmd.git
cd s3cmd
sudo python setup.py install
Credentials
s3cmd --configure
- The environment variable AWS_CREDENTIAL_FILE
- IAM roles
References
- Amazon S3 tools: s3cmd
- GitHub - s3tools/s3cmd
- Amazon S3 tools: Supporters, Donations - s3cmd is free, but they do take donations if you want to support the developers
Parts in this series
- HowTo: Install AWS CLI
- HowTo: Install AWS CLI - Prerequisites
- HowTo: Install AWS CLI - Security Credentials
- HowTo: Install AWS CLI - AWS Command Line Interface
- HowTo: Install AWS CLI - Amazon Auto Scaling
- HowTo: Install AWS CLI - Amazon CloudFormation
- HowTo: Install AWS CLI - Amazon CloudFront
- HowTo: Install AWS CLI - Amazon CloudWatch
- HowTo: Install AWS CLI - Amazon ElastiCache
- HowTo: Install AWS CLI - Amazon Elastic Compute Cloud (EC2) - AMI Tools
- HowTo: Install AWS CLI - Amazon Elastic Compute Cloud (EC2) - API Tools
- HowTo: Install AWS CLI - Amazon Elastic Load Balancing (ELB)
- HowTo: Install AWS CLI - Amazon Elastic MapReduce Ruby Client
- HowTo: Install AWS CLI - Amazon Identity and Access Management (IAM)
- HowTo: Install AWS CLI - Amazon Relational Data Services (RDS)
- HowTo: Install AWS CLI - Amazon Route 53 - cli53
- HowTo: Install AWS CLI - Amazon Route 53 - dnscurl.pl
- HowTo: Install AWS CLI - Amazon Simple Email Service (SES)
- HowTo: Install AWS CLI - Amazon Simple Notification Service (SNS)
- HowTo: Install AWS CLI - Amazon Simple Storage Service (S3) - s3cmd
- HowTo: Install AWS CLI - Amazon Simple Storage Service (S3) - s3curl.pl