<br><br>
<div class="gmail_quote">On Mon, Dec 21, 2009 at 9:49 AM, Eric Sharkey <span dir="ltr"><<a href="mailto:eric@lisaneric.org">eric@lisaneric.org</a>></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 <<a href="mailto:mythtv@derdev.com">mythtv@derdev.com</a>> wrote:<br>> and you would find and delete this way<br>><br>> 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's true as long as you'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>