[Tfug] When RTFM is not enough
Keith Davey
tfug@tfug.org
Sun Jul 7 11:46:02 2002
I agree and there are sunctions that locate does not seem to posses. I frequently use find to locate files over a certain age. I do not know any way to use locate to acomplish that task. Also find is real-time, where locate is operating off of data that was gathered from the last updatedb run.
Keith Davey
On Sat, Jul 06, 2002 at 01:40:49PM -0700, johngalt wrote:
> > If anyone tells you to use "find", double up your fist and just pound the
> > snot out of them. When they lose consciousness, drag their body into a
>
> The problem with "find" is what?
>
> Why litter your disk with index files to grep later?
>
> Take care not to get covered in snot, I have a bucketful...
>
>
> "Bowie J. Poag" wrote:
> >
> > > One question at a time. I'm trying to find out where everything is,
> > > and older distributions used something called "locate" with "updatedb"
> >
> > It should still be there..Its a standard fixture. Might want to hunt down
> > the RPM at www.rpmfind.net.
> >
> > In the meantime, you can do this quick hack to achieve the same thing:
> >
> > du -k / >/files.txt
> >
> > This will create a text file listing the complete expanded filename of every
> > file on your system.
> >
> > To locate a file, just grep it.
> >
> > grep "whatever" /files.txt
> >
> > If anyone tells you to use "find", double up your fist and just pound the
> > snot out of them. When they lose consciousness, drag their body into a
> > dumpster, dump some gasoline into it, and set them on fire. Repeat as
> > needed.
> >
> > _______________________________________________
> > tfug mailing list
> > tfug@tfug.org
> > http://www.tfug.org/mailman/listinfo/tfug
> _______________________________________________
> tfug mailing list
> tfug@tfug.org
> http://www.tfug.org/mailman/listinfo/tfug