Skip to content

Instantly share code, notes, and snippets.

@seansullivan
Created August 26, 2013 19:26
Show Gist options
  • Save seansullivan/6345556 to your computer and use it in GitHub Desktop.
Save seansullivan/6345556 to your computer and use it in GitHub Desktop.
Deploy local folder to s3 bucket using s3cmd.
#!/bin/bash
s3cmd sync --delete-removed ./mybucket-local/ s3://mybucket.com
s3cmd setacl --acl-public --recursive s3://mybucket.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment