s3cmd

Python command line client for uploading, retrieving and managing data in Amazon S3 and S3-compatible storage such as Google Cloud Storage and DreamObjects.

s3cmd is a command line client written in Python for managing data in Amazon S3 and other storage services that speak the S3 protocol, including Google Cloud Storage and DreamHost DreamObjects. It addresses remote data with URIs of the form s3://BUCKET and s3://BUCKET/OBJECT.

Setup starts with s3cmd --configure, which prompts for the Access Key and Secret Key. Core commands include ls (with --recursive), mb to create a bucket, put and get (both with --recursive), and sync for directory trees. ACLs can be set at upload time with --acl-public or --acl-private on put and sync, or changed later with s3cmd setacl. The README also lists multipart uploads, encryption, incremental backup, metadata management, bucket size reporting and bucket policies among its more than 60 command line options. The project description also mentions CloudFront support.

It is aimed at power users who are comfortable on the command line. The README also names batch scripts and automated backups to S3 triggered from cron as typical uses. It is released under GPLv2.

Alternatives & related tools

add a badge to your README

Maintain s3cmd? Show that it's featured on trmn. The badge links back to this page.

Featured on trmn
Markdown
[![Featured on trmn](https://www.trmn.sh/badge/s3cmd.svg)](https://www.trmn.sh/tools/s3cmd?utm_source=badge)
HTML
<a href="https://www.trmn.sh/tools/s3cmd?utm_source=badge"><img src="https://www.trmn.sh/badge/s3cmd.svg" alt="Featured on trmn" height="20"></a>