{"image_url":null,"categories":["mac"],"provider_url":"https://hatena.blog","author_name":"studio-m","published":"2009-11-28 19:59:29","blog_url":"https://studio-m.hatenadiary.org/","version":"1.0","provider_name":"Hatena Blog","width":"100%","author_url":"https://blog.hatena.ne.jp/studio-m/","title":"Mac OS X\u3067md5sum\u30b3\u30de\u30f3\u30c9\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30c8\u3059\u308b","height":"190","blog_title":"Lism.in * blog - nekoya (id:studio-m)","description":"OSX\u3060\u3068md5\u30b3\u30de\u30f3\u30c9\u306b\u306a\u3063\u3066\u51fa\u529b\u306e\u5f62\u5f0f\u304c\u9055\u3046\u306e\u3067\u3001\u30d0\u30c3\u30c1\u3067md5\u3092\u62fe\u3046\u6642\u306a\u3093\u304b\u306b\u5c11\u3057\u9762\u5012\u3002 #!/usr/bin/perl use strict; use warnings; my $filename = shift @ARGV; my $md5 = `md5 $filename`; die 'could not get md5 hash' unless $md5 =~ /^MD5 \\([^\\)]+\\) = (\\w+)$/; print \"$1 $filename\\n\"; \u3068\u304b\u66f8\u3044\u3066\u3084\u3063\u3064\u3051\u305f\u3051\u3069\u3001\u3082\u3046\u3061\u3087\u3063\u3068\u7b4b\u306e\u3044\u3044\u65b9\u6cd5\u306f\u306a\u3044\u3082\u306e\u304b\u3002\u304d\u3063\u3068\u3042\u308b\u3068\u601d\u3046\u3093\u3060\u3051\u3069\u3001\u3084\u3063\u3064\u3051\u3066\u3057\u307e\u3063\u305f\u3002\u305d\u3057\u3066\u3001\u2026","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fstudio-m.hatenadiary.org%2Fentry%2F20091128%2F1259405969\" title=\"Mac OS X\u3067md5sum\u30b3\u30de\u30f3\u30c9\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30c8\u3059\u308b - Lism.in * blog - nekoya (id:studio-m)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://studio-m.hatenadiary.org/entry/20091128/1259405969"}