{"categories":["Mac, macOS"],"author_url":"https://blog.hatena.ne.jp/cruller/","type":"rich","provider_url":"https://hatena.blog","author_name":"cruller","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyaritakunai.hatenablog.com%2Fentry%2F2017%2F08%2F21%2F221000\" title=\"Mac\u3067\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u78ba\u8a8d\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u3063\u3066\u307f\u305f - cBlog\" 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://yaritakunai.hatenablog.com/entry/2017/08/21/221000","provider_name":"Hatena Blog","width":"100%","published":"2017-08-21 22:10:00","blog_url":"https://yaritakunai.hatenablog.com/","version":"1.0","description":"macOS\u3067\uff08HFS+\u306e\uff09\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u8868\u793a\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092Python 3\u3067\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002\u3068\u3044\u3063\u3066\u3082\u3001subprocess.run()\u3067\u5b9f\u884c\u3057\u305fls\u306e\u7d50\u679c\u3092\u6574\u5f62\u3057\u305f\u3060\u3051\u3067\u3059\u3051\u3069\u3002 yaritakunai.hatenablog.com tstamp(.py) #!/usr/bin/env python3 import subprocess import sys def run_pipe(cmd): return subprocess.run(cmd, stdout=subprocess.PIPE) def get_date(info): elem = info.split() return\u2026","height":"190","image_url":"https://images-fe.ssl-images-amazon.com/images/I/514FVoykvxL._SL160_.jpg","title":"Mac\u3067\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u78ba\u8a8d\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u3063\u3066\u307f\u305f","blog_title":"cBlog"}