Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## install s3cmd (osx)
- ```bash
- brew install s3cmd
- s3cmd --configure
- ```
- ## local to remote
- ```bash
- s3cmd sync —-delete-removed ~/my-local-folder s3://my-bucket/my-folder/
- ```
- ## remote to local
- ```bash
- s3cmd sync —-delete-removed s3://my-bucket/my-folder/ ~/my-local-folder
- ```
- ## make files public
- ```bash
- s3cmd sync --acl-public ~/my-local-folder s3://my-bucket/my-folder/
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement