Skip to content

Instantly share code, notes, and snippets.

@swinton
Last active September 8, 2015 16:05
Show Gist options
  • Save swinton/0be77cbc130b1fe0f6dd to your computer and use it in GitHub Desktop.
Save swinton/0be77cbc130b1fe0f6dd to your computer and use it in GitHub Desktop.
HOWTO: S3cmd

HOWTO: S3cmd

Recursively copy everything in S3 bucket to pwd

s3cmd get --recursive s3://my-awesome-bucket/

Recursively copy everything in pwd to a bucket and make it public

E.g. great for publishing a website to S3!

s3cmd put --acl-public --guess-mime-type --recursive * s3://my-awesome-bucket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment