<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shokai</author_name>
  <author_url>https://blog.hatena.ne.jp/shokai/</author_url>
  <blog_title>橋本詳解</blog_title>
  <blog_url>https://shokai.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>kindle4_本の名前.pdf という名前が並んでいると見づらいので、 kindle4/本の名前_kindle4.pdf にする。 #!/usr/bin/env ruby dir = '/home/sho/share/books' pattern = /^(ipad|kindle\d|iphone4)_(.+)\.(.+)$/ files = Dir.glob(dir+'/*/*.pdf').map{|f| { :path =&gt; f, :name =&gt; f.split('/').last, :dir =&gt; File.dirname(f) } } files.delete_if{|f| !(f…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshokai.hatenadiary.org%2Fentry%2F20111008%2F1318083720&quot; title=&quot;bookscanのチューニング後の本の名前を変更する - 橋本詳解&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-10-08 23:22:00</published>
  <title>bookscanのチューニング後の本の名前を変更する</title>
  <type>rich</type>
  <url>https://shokai.hatenadiary.org/entry/20111008/1318083720</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
