[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



What I failed to emphasize is that find has a slew of other
exclusionary rules that allow you to select a particular file.
You need not use a regular expression in the -name <RE> option.
You can base the selection on date, size, owner, etc., or various
combinations.  Use any method that ultimately selects just that one file
and then add the -exec rm {} \;  and the job is done.

Find is one of my favorite UNIX commands.  It is very powerful and
flexible, but as always, requires some effort to master.

-- 
	David A. De Graaf    DATIX, Inc.    Hendersonville, NC
	dad at datix.2y.net    (828) 696-8646;  fax (828) 694-1037


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00321" href="msg00321.html">[ale] How can I delete this file?</a></strong>
<ul><li><em>From:</em> mark at primefactor.com (Mark Shewmaker)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00217" href="msg00217.html">[ale] How can I delete this file?</a></strong>
<ul><li><em>From:</em> christopher at bergeron.com (Christopher Bergeron)</li></ul></li>
<li><strong><a name="00219" href="msg00219.html">[ale] How can I delete this file?</a></strong>
<ul><li><em>From:</em> fletch at phydeaux.org (Fletch)</li></ul></li>
<li><strong><a name="00220" href="msg00220.html">[ale] How can I delete this file?</a></strong>
<ul><li><em>From:</em> christopher at bergeron.com (Christopher Bergeron)</li></ul></li>
<li><strong><a name="00223" href="msg00223.html">[ale] How can I delete this file?</a></strong>
<ul><li><em>From:</em> dad at datix.2y.net (David A. De Graaf)</li></ul></li>
<li><strong><a name="00225" href="msg00225.html">[ale] How can I delete this file?</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00239.html">[ale] Gmail Invite</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00241.html">[ale] more gmail</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00225.html">[ale] How can I delete this file?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00321.html">[ale] How can I delete this file?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00240"><strong>Date</strong></a></li>
<li><a href="threads.html#00240"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>