{"id":44903,"date":"2016-11-21T22:52:15","date_gmt":"2016-11-21T13:52:15","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=44903"},"modified":"2016-11-21T22:52:15","modified_gmt":"2016-11-21T13:52:15","slug":"gallery-shell","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/gallery-shell\/","title":{"rendered":"gallery.sh - \u30b7\u30f3\u30d7\u30eb\u306a\u753b\u50cf\u30ae\u30e3\u30e9\u30ea\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308bBash\u30b9\u30af\u30ea\u30d7\u30c8"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/11\/s_20161114_102927.jpg\" alt=\"S 20161114 102927\" title=\"s_20161114_102927.jpg\" border=\"0\" width=\"1006\" height=\"832\" \/><\/p>\n<p>\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u4e0d\u8981\u306e\u753b\u50cf\u30ae\u30e3\u30e9\u30ea\u30fc\u4f5c\u6210\u30c4\u30fc\u30eb\u300c<a href=\"https:\/\/github.com\/Cyclenerd\/gallery_shell\">gallery.sh<\/a>\u300d\u3002UNIX\u7cfb\u306eOS\u3067\u52d5\u4f5c\u3057\u3001bash\u3092\u4f7f\u7528\u3057\u3066\u4e0a\u8a18\u753b\u50cf\u306e\u3088\u3046\u306a\u753b\u50cf\u4e00\u89a7\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u751f\u6210\u3055\u308c\u308b\u306e\u306f\u9759\u7684\u306ahtml\u30d5\u30a1\u30a4\u30eb\u3067\u3001MySQL\u3084PHP\u3068\u3044\u3063\u305f\u30b5\u30fc\u30d0\u30fc\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u4e0d\u8981\u3002\u753b\u50cf\u30ae\u30e3\u30e9\u30ea\u30fc\u306fBootstrap\u3092\u5229\u7528\u3057\u305f\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u5bfe\u5fdc\u3057\u3001\u500b\u5225\u30da\u30fc\u30b8\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30dc\u30bf\u30f3\u3092\u5229\u7528\u3057\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f5c\u6210\u3057\u305f\u30ae\u30e3\u30e9\u30ea\u30fc\u30d5\u30a1\u30a4\u30eb\u306f\u30ed\u30fc\u30ab\u30eb\u3067\u5229\u7528\u3067\u304d\u308b\u3060\u3051\u3067\u306a\u304f\u3001Web\u30b5\u30a4\u30c8\u306b\u8a2d\u7f6e\u3057\u3066\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u7d4c\u7531\u3067\u53c2\u7167\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h2>\u4e8b\u524d\u6e96\u5099<\/h2>\n<p>\u753b\u50cf\u5909\u63db\u30c4\u30fc\u30eb\u300cImageMagick\u300d\u3068\u3001EXIF\u30c7\u30fc\u30bf\u53d6\u5f97\u30c4\u30fc\u30eb\u300cJHead\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>Linux\u306e\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>\nsudo apt-get install imagemagick jhead\n<\/pre>\n<p>Mac\u3067MacPorts\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u306f\u4ee5\u4e0b\u3002<\/p>\n<pre>\nsudo port install imagemagick jhead\n<\/pre>\n<p>Homebrew\u306e\u5834\u5408\u306f\u3053\u3061\u3089\u3002<\/p>\n<pre>\nbrew install imagemagick jhead\n<\/pre>\n<h2>gallery.sh\u306e\u4f7f\u7528\u65b9\u6cd5<\/h2>\n<p>gallery.sh\u306fBash\u30b9\u30af\u30ea\u30d7\u30c8\u306a\u306e\u3067gallery.sh\u3092\u30d1\u30b9\u304c\u901a\u3063\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3059\u308c\u3070\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<pre>git clone https:\/\/github.com\/Cyclenerd\/gallery_shell.git\ncd gallery_shell\ncp gallery.sh ~\/bin\n<\/pre>\n<p>gallery.sh\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n<pre>\ngallery.sh [-t <title>] [-d <thumbdir>] [-h]:\n    [-t <title>]     sets the title (default: Gallery)\n    [-d <thumbdir>]  sets the thumbdir (default: __thumbs)\n    [-h]         displays help (this message)\n<\/pre>\n<p>\u4f8b\u3048\u3070\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3059\u308b\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3057\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\ncd ~\/pics\ngallery.sh\n<\/pre>\n<p>\u4f5c\u6210\u3055\u308c\u305findex.html\u3092\u30d6\u30e9\u30a6\u30b6\u3067\u958b\u3044\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/11\/s-2016-11-14-10.33.56.jpg\" alt=\"S 2016 11 14 10 33 56\" title=\"s 2016-11-14 10.33.56.jpg\" border=\"0\" width=\"996\" height=\"482\" \/><\/p>\n<p>\u25b2\u753b\u50cf\u4e00\u89a7\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/11\/s_20161114_103431.jpg\" alt=\"S 20161114 103431\" title=\"s_20161114_103431.jpg\" border=\"0\" width=\"965\" height=\"945\" \/><\/p>\n<p>\u25b2\u500b\u5225\u30da\u30fc\u30b8\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30dc\u30bf\u30f3\u304c\u5b58\u5728\u3057\u3001EXIF\u30c7\u30fc\u30bf\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>gallery.sh<\/h2>\n<p>gallery.sh\u306f\u30b7\u30f3\u30d7\u30eb\u306a\u753b\u50cf\u30ae\u30e3\u30e9\u30ea\u30fc\u4f5c\u6210\u30c4\u30fc\u30eb\u3067\u3059\u3002\u30ae\u30e3\u30e9\u30ea\u30fc\u5185\u306e\u5404\u753b\u50cf\u3078\u306e\u30ea\u30f3\u30af\u306f\u76f8\u5bfe\u30ea\u30f3\u30af\u3067\u8a18\u8ff0\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u30ed\u30fc\u30ab\u30eb\u3060\u3051\u3067\u306a\u304fWeb\u30b5\u30a4\u30c8\u306b\u8a2d\u7f6e\u3057\u3066\u3082\u52d5\u4f5c\u3057\u3066\u4fbf\u5229\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u4e0d\u8981\u306e\u753b\u50cf\u30ae\u30e3\u30e9\u30ea\u30fc\u4f5c\u6210\u30c4\u30fc\u30eb\u300cgallery.sh\u300d\u3002UNIX\u7cfb\u306eOS\u3067\u52d5\u4f5c\u3057\u3001bash\u3092\u4f7f\u7528\u3057\u3066\u4e0a\u8a18\u753b\u50cf\u306e\u3088\u3046\u306a\u753b\u50cf\u4e00\u89a7\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u751f\u6210\u3055\u308c\u308b\u306e\u306f\u9759\u7684\u306ahtml\u30d5\u30a1\u30a4\u30eb\u3067\u3001MySQ [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":44904,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[3459],"tags":[3783],"class_list":["post-44903","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-review","tag-gallery"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/44903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=44903"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/44903\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/44904"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=44903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=44903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=44903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}