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

[no subject]



find . -atime  +6 -exec ls -l  {}  \;  |  more

On Sun, 2004-10-10 at 21:02, Danny Cox wrote:

> CB,
> 
> On Sun, 2004-10-10 at 20:23, Christopher Bergeron wrote:
> > Can anyone tell me what the difference between these two "find" commands is?
> > 
> > find . -atime +6 -exec ll | more
> 
> 	This runs a 'find' and pipes it's output to more.
> 
> > find . -atime +6 -exec ll | more \;
> 
> 	This also runs a 'find', and pipes it's output to more, but you've
> given more a filename of ';', so it ignores stdin, and tells you that it
> can't open ";".
> 
> 	Perhaps you might try:
> 
> 	find . -atime +6 | xargs ll | more
> 
> which may or may not do what you wish.
-------------- next part --------------
An HTML attachment was scrubbed...



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00356" href="msg00356.html">[ale] find usage...</a></strong>
<ul><li><em>From:</em> christopher at bergeron.com (Christopher Bergeron)</li></ul></li>
<li><strong><a name="00358" href="msg00358.html">[ale] find usage...</a></strong>
<ul><li><em>From:</em> danscox at mindspring.com (Danny Cox)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00362.html">[ale] More Lockups</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00364.html">[ale] Slackware to drop Gnome?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00358.html">[ale] find usage...</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00367.html">[ale] find usage...</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00363"><strong>Date</strong></a></li>
<li><a href="threads.html#00363"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

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