<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syou6162</author_name>
  <author_url>https://blog.hatena.ne.jp/syou6162/</author_url>
  <blog_title>yasuhisa's blog</blog_title>
  <blog_url>https://www.yasuhisay.info/</blog_url>
  <categories>
    <anon>Linux</anon>
  </categories>
  <description>そういうファイルがあるときは簡単なんだけど、ないときもある。ないときはrmを実行しないで欲しい。そんなあなたに「-r」オプション。 find ./ -type f -name '*.png' -size 0 | xargs -r rm この方法で，findの出力がない場合は xargsにgrepを実行させないように，`-r'オプションを使用したり，名前にスペースを含んでいて間違って解釈することを防ぐために， findのアクション`-print0'とxargsのオプション `-0'を使用することで改善可能です． Finding Files: 2. ファイル検索 findもxargsもだいぶ慣れて…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yasuhisay.info%2Fentry%2F20080203%2F1201980294&quot; title=&quot;ファイルが0KBのpngファイルを削除するワンライナー - yasuhisa&amp;#39;s blog&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>2008-02-03 04:24:54</published>
  <title>ファイルが0KBのpngファイルを削除するワンライナー</title>
  <type>rich</type>
  <url>https://www.yasuhisay.info/entry/20080203/1201980294</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
