<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuyubu</author_name>
  <author_url>https://blog.hatena.ne.jp/yuyubu/</author_url>
  <blog_title>誰にも見えないブログ</blog_title>
  <blog_url>https://yuyubu-sub.hateblo.jp/</blog_url>
  <categories>
    <anon>linux</anon>
    <anon>雑なノウハウ</anon>
  </categories>
  <description>仕事中､フォルダに入ってるファイルに対して､フォルダ名をプリフィックスに付け足して他人に渡すというシチュエーションがありました｡ こんな感じになってるファイル達を . └── nobel ├── a.txt └── b.txt こんな感じにしたい $ tree . └── nobel ├── nobel-a.txt └── nobel-b.txt renameというコマンドで正規表現を使ったより柔軟な置換が出来ます rename 's/^/nobel-/' *.txt ※上記正規表現は先頭(^)に&quot;nobel-&quot;を付け足すという置換を表しています｡nobel-の部分を適当に置き換えて使えるかも…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuyubu-sub.hateblo.jp%2Fentry%2F2020%2F02%2F07%2Frename&quot; title=&quot;【linux】renameコマンドを使ったファイル名の一括変更 - 誰にも見えないブログ&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>2020-02-07 17:27:53</published>
  <title>【linux】renameコマンドを使ったファイル名の一括変更</title>
  <type>rich</type>
  <url>https://yuyubu-sub.hateblo.jp/entry/2020/02/07/rename</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
