Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2010 14:01:44 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: utility to all ALL strings?
Message-ID:  <236FB9A0-F00C-409E-8085-AE2575B7DDBB@mac.com>
In-Reply-To: <20100618205629.GA6931@thought.org>
References:  <20100618205629.GA6931@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi--

On Jun 18, 2010, at 1:56 PM, Gary Kline wrote:
> this goes back >> a few years, but is there, somewhere in ports, a
> utility that goes thru the entire system and collects either all
> file names or all strings---i do not think this operated on
> binaries [:-)]--- and hashed and compressed everything?

You're most likely talking about the "locate" command, which collects all filenames from the system to provide a quicker substitute for "find".  See:

     /usr/libexec/locate.updatedb     Script to update the locate database
     /etc/periodic/weekly/310.locate  Script that starts the database rebuild

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?236FB9A0-F00C-409E-8085-AE2575B7DDBB>