<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ke_takahashi</author_name>
  <author_url>https://blog.hatena.ne.jp/ke_takahashi/</author_url>
  <blog_title>memorandums</blog_title>
  <blog_url>https://memorandums.hatenablog.com/</blog_url>
  <categories>
    <anon>メモ</anon>
  </categories>
  <description>PDFを半分にするスクリプトを作れたと思ったら勘違いだったというエントリーを少し前に書きまして。 PDFをEPUBにしたかっただけなのに半日かかってしまった - memorandums じゃ、書籍をスキャンした画像ファイルが大量にあるディレクトリで画像を左右の独立したファイルにするスクリプトって書いてなかったなぁ。。。と思って書いたものです。本当に自分のためのメモです。 #!/bin/bash for file in $(ls -1 *.jpg | sort -V); do convert -crop 50%x100% &quot;$file&quot; _&quot;$file&quot; rm -f &quot;$file&quot; done 見…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemorandums.hatenablog.com%2Fentry%2F2025%2F10%2F07%2F223942&quot; title=&quot;カレントディレクトリにある画像をまとめて半分にする - memorandums&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>2025-10-07 22:39:42</published>
  <title>カレントディレクトリにある画像をまとめて半分にする</title>
  <type>rich</type>
  <url>https://memorandums.hatenablog.com/entry/2025/10/07/223942</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
