开发者

How do I upload an entire directory to S3?

I want my directory, and all its sub directories and files, to go straight开发者_开发问答 to S3. Clone it.

Is there an easy script/program to do that?

I'm on Ubuntu linux.


  1. Install S3 (http://s3tools.org/download)

  2. Configure it: s3cmd --configure

  3. Create a bucket: s3cmd mb s3://my-bucket (alternatively, you can do this via a tool like S3Fox)

  4. Sync your local directory with S3: s3cmd sync /path/to/local/dir/ s3://my-bucket

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜