{"id":69,"date":"2015-01-15T17:05:49","date_gmt":"2015-01-15T08:05:49","guid":{"rendered":"http:\/\/www.kwonline.org\/memo2\/?p=69"},"modified":"2015-01-15T17:05:49","modified_gmt":"2015-01-15T08:05:49","slug":"s3cmd%e3%82%92%e4%bd%bf%e3%81%86","status":"publish","type":"post","link":"https:\/\/www.kwonline.org\/memo2\/2015\/01\/15\/s3cmd%e3%82%92%e4%bd%bf%e3%81%86\/","title":{"rendered":"s3cmd\u3092\u4f7f\u3046"},"content":{"rendered":"<p>\t\t\t\tAmazon S3\u3092\u4f7f\u3046\u4e8b\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u306es3cmd\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001Mac\u3002<br \/>\nmacports\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u51fa\u6765\u308b\u306e\u3067\u3001<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$ sudo port install s3cmd<\/pre>\n<p>\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u7d9a\u3044\u3066Windows\u3001\u3068\u3044\u3046\u304bCygwin\u3002<\/p>\n<ul>\n<li>git<\/li>\n<li>python<\/li>\n<li>python-setuptool<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u3092setup-x86.exe\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001pip\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$ easy_install pip<\/pre>\n<p>\u7d9a\u3044\u3066python-dateutil\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$ pip install python-dateutil<\/pre>\n<p>\u305d\u3057\u3066\u3001s3cmd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\n\u307e\u305a\u306fgit\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3002Mac\u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u63c3\u3048\u305f\u3044\u306e\u3067\u30d6\u30e9\u30f3\u30c1\u3092\u6307\u5b9a\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$ git clone -b branch-1.0.x https:\/\/github.com\/s3tools\/s3cmd.git<\/pre>\n<p>\u305d\u3057\u3066setup.py\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$ cd s3cmd\n$ python setup.py install<\/pre>\n<p>\u4ee5\u4e0a\u3001Cygwin.<\/p>\n<p>\u7d9a\u3044\u3066s3cmd\u306e\u30b3\u30f3\u30d5\u30a3\u30b0\u3092\u5b9f\u65bd\u3057\u307e\u3059\u3002<br \/>\n\u3053\u3053\u304b\u3089\u306fMac\u3082Cygwin\u3082\u5171\u901a\u3067\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$ s3cmd --configure\n\nAccess Key: # Access Key \u3092\u5165\u529b\nSecret Key: # Secret Key \u3092\u5165\u529b\n\nEncryption password: #\u7a7a\u306e\u307e\u307eEnter\nPath to GPG program: #\u7a7a\u306e\u307e\u307eEnter\n\nUse HTTPS protocol &#x5B;No]: #\u7a7a\u306e\u307e\u307eEnter\n\nHTTP Proxy server name: #\u7a7a\u306e\u307e\u307eEnter\n\nTest access with supplied credentials? &#x5B;Y\/n] n # Mac\u3082Cygwin\u3082\u30c6\u30b9\u30c8\u306f403\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u30b9\u30ad\u30c3\u30d7\n\nSave settings? &#x5B;y\/N] y\n<\/pre>\n<p>\u3053\u308c\u3067s3cmd\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u8a66\u3057\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">$ s3cmd put test.gz s3:\/\/example\/test.gz<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Amazon S3\u3092\u4f7f\u3046\u4e8b\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u306es3cmd\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u307e\u305a\u306f\u3001Mac\u3002 macports\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u51fa\u6765\u308b\u306e\u3067\u3001 $ sudo port install s3cmd \u3067\u30a4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-69","post","type-post","status-publish","format-standard","hentry","category-unix"],"_links":{"self":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts\/69","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/comments?post=69"}],"version-history":[{"count":0,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts\/69\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/categories?post=69"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/tags?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}