<br><br>
<div class="gmail_quote">On Mon, Dec 21, 2009 at 9:49 AM, Eric Sharkey <span dir="ltr">&lt;<a href="mailto:eric@lisaneric.org">eric@lisaneric.org</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">On Mon, Dec 21, 2009 at 8:22 AM, Dave Richardson &lt;<a href="mailto:mythtv@derdev.com">mythtv@derdev.com</a>&gt; wrote:<br>&gt; and you would find and delete this way<br>&gt;<br>&gt; find . -size 0 -exec rm -f {} \;<br>
<br></div>That works, but:<br><br>find . -size 0 -delete<br><br>is a little easier.<br><font color="#888888"><br>Eric<br></font>
<div>
<div></div>
<div class="h5"> </div></div></blockquote>
<div> </div>
<div>That&#39;s true as long as you&#39;re on Linux (Or some other system using GNU find), but the -exec rm method is a more portable way to script file deletion using find, because the --delete option is not available with the standard UNIX version of find.</div>

<div> </div>
<div>Shawn</div></div>