Skip to content

Instantly share code, notes, and snippets.

@nitinhayaran
Forked from alanwill/s3-bucket-move
Created March 16, 2017 09:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nitinhayaran/82b70c8febcf6d6de62c39d12c5ece00 to your computer and use it in GitHub Desktop.
Save nitinhayaran/82b70c8febcf6d6de62c39d12c5ece00 to your computer and use it in GitHub Desktop.
Move an S3 bucket to a different region
aws s3 sync s3://oldbucket s3://newbucket --source-region us-west-1 --region us-west-2
@nitinhayaran
Copy link
Author

both the buckets should exists already

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