On 8/28/07, <b class="gmail_sendername">Nils Breunese</b> <<a href="mailto:nils@breun.nl">nils@breun.nl</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Roger wrote:<br><br>> On 8/28/07, Huck <<a href="mailto:dhuckaby@paasda.org">dhuckaby@paasda.org</a>> wrote: 'find' is likely much<br>> more powerful..<br>><br>> but I use 'updatedb'...and then 'locate <filename or partial with
<br>> wildcard>'...<br>> Yeah, I use locate often too.<br>> find is for when I want to do something with the files after<br>> they're found.<br><br>Why wouldn't you be able to do something with the files that locate
<br>eh... locates for you? Piping the result into xargs is pretty powerful.<br><br>find is more flexible than locate though, you can for instance tell<br>it to only look in a particular part of your filesystem, check for<br>
certain permissions, times, etc. and it is always returning actually<br>existing files. locate searches a database (which is updated by<br>running updatedb), while find searches the live filesystem.</blockquote><div><br><br>
you answered exactly why I use find.    I  never would have come up with that wording, but you put exactly why I use find instead of locate.  Locate is to locate a file,  or to see where I squirreled something away.  I use find when I want to get certain files in a subdirectory and do something with them.   
<br>I just recently noticed that find uses the wild card character like you expect it to, I was just wondering when it changed.  <br></div><br></div><br><br clear="all"><br>-- <br>Roger<br>~~~~//~~~~<br>low cost web hosting:
<br><a href="http://www.dreamhost.com/r.cgi?91357">http://www.dreamhost.com/r.cgi?91357</a>