<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thr3a</author_name>
  <author_url>https://blog.hatena.ne.jp/thr3a/</author_url>
  <blog_title>動かざることバグの如し</blog_title>
  <blog_url>https://blog.turai.work/</blog_url>
  <categories>
    <anon>linux</anon>
  </categories>
  <description>環境 Linux macだとバグるので注意 やりたいこと 例えば以下のようなファイルがたくさんあったとする。これをランダムなファイル名に一括変更したい ./my1.txt ./my10.txt ./my11.txt ./my12.txt ./my13.txt ./my14.txt ./my2.txt ./my3.txt ./my4.txt ./my5.txt ./my6.txt ./my7.txt ./my8.txt ./my9.txt コマンド find . -type f -iname &quot;*.txt&quot; -exec bash -c 'mv &quot;$0&quot; &quot;${0%/*}/$(head /dev/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.turai.work%2Fentry%2F20230426%2F1682514442&quot; title=&quot;Linuxでファイル名をランダムに一括変更するコマンド - 動かざることバグの如し&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>2023-04-26 22:07:22</published>
  <title>Linuxでファイル名をランダムに一括変更するコマンド</title>
  <type>rich</type>
  <url>https://blog.turai.work/entry/20230426/1682514442</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
