<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sasaplus1</author_name>
  <author_url>https://blog.hatena.ne.jp/sasaplus1/</author_url>
  <blog_title>四角革命前夜</blog_title>
  <blog_url>https://sasaplus1.hatenadiary.com/</blog_url>
  <categories>
    <anon>sh</anon>
  </categories>
  <description>ディレクトリに30万ファイルなんて出来ていて、全部削除したいとき。 普通、ひとつのディレクトリ直下にそんなファイル作らないでしょうけど…… $ find . -type f -print0 | xargs -0 -P0 rm -f で削除しました。 -print0は一致したファイル名をヌル文字で区切るオプション。なので、xargs側で-0を指定していればファイル名に空白などを含んでいても正常に処理できます。 -0は区切りをヌル文字で扱うオプション。-print0を使ってるのでこれを指定しないとおかしくなります。 -P0はプロセス数をいくつにするかのオプションで、0を指定しているのでいい感じにプ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsasaplus1.hatenadiary.com%2Fentry%2F20121210%2F1355134090&quot; title=&quot;高速にファイルを削除する - 四角革命前夜&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>2012-12-10 19:08:10</published>
  <title>高速にファイルを削除する</title>
  <type>rich</type>
  <url>https://sasaplus1.hatenadiary.com/entry/20121210/1355134090</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
