Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. ## install s3cmd (osx)
  2. ```bash
  3. brew install s3cmd
  4. s3cmd --configure
  5. ```
  6.  
  7. ## local to remote
  8. ```bash
  9. s3cmd sync —-delete-removed ~/my-local-folder s3://my-bucket/my-folder/
  10. ```
  11.  
  12. ## remote to local
  13. ```bash
  14. s3cmd sync —-delete-removed s3://my-bucket/my-folder/ ~/my-local-folder
  15. ```
  16.  
  17. ## make files public
  18. ```bash
  19. s3cmd sync --acl-public ~/my-local-folder s3://my-bucket/my-folder/
  20. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement