<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>forestbook</author_name>
  <author_url>https://blog.hatena.ne.jp/forestbook/</author_url>
  <blog_title>forestbook's diary</blog_title>
  <blog_url>https://forestbook.hateblo.jp/</blog_url>
  <categories>
    <anon>mac</anon>
  </categories>
  <description>windowsを使っていた頃はfrenameとかいうフリーのソフトを使って整理していましたが、macにはそういうのがなかったので、デジカメで撮った写真のファイル名を日付+連番で名前を付け直すスクリプトを書いてみました。例えば、以下のスクリプトをrenban.shで保存し、デジカメで撮った写真のファイルを同じフォルダに保存。以下のコマンドで、20100728001.jpg〜の連番ファイルに変わります。 あまり上手くないです。突っ込み大歓迎です。%./renban.sh 20100728 #!/bin/bash if [ $# -ne 1 ]; then echo &quot;Usage: command …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fforestbook.hateblo.jp%2Fentry%2F20100728%2F1280327479&quot; title=&quot;写真のファイル名を連番にするシェルスクリプト - forestbook&amp;#39;s diary&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>2010-07-28 23:31:19</published>
  <title>写真のファイル名を連番にするシェルスクリプト</title>
  <type>rich</type>
  <url>https://forestbook.hateblo.jp/entry/20100728/1280327479</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
