Created
May 10, 2014 14:05
-
-
Save bhalothia/19ee0b282dce299c522d to your computer and use it in GitHub Desktop.
Command line tool for managing Amazon S3 and CloudFront services
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
S3cmd tool for Amazon Simple Storage Service (S3) | |
================================================= | |
S3cmd is a free command line tool and client for uploading, | |
retrieving and managing data in Amazon S3 and other cloud | |
storage service providers that use the S3 protocol, such as | |
Google Cloud Storage or DreamHost DreamObjects. It is best | |
suited for power users who are familiar with command line | |
programs. It is also ideal for batch scripts and automated | |
backup to S3, triggered from cron, etc. | |
Examples: | |
-> Pushing file to S3 bucket: | |
sudo s3cmd put <folder_needs_to_be_pushed>/ s3://<bucket_name> --recursive --acl-public | |
–acl-public is an extra parameter which is used to set your files publicly accessible. | |
-> Syncing a local folder with S3 bucket | |
sudo s3cmd sync --delete-removed --acl-public <folder_needs_to_be_pushed>/ s3://<bucket_name> | |
Other useful links: | |
http://s3tools.org/s3cmd | |
https://github.com/s3tools/s3cmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment