Re: Search Machine for Ubuntu machine
- From: Ted Hilts <thilts@xxxxxxxxx>
- Date: Fri, 29 Aug 2008 12:31:13 -0600
Karl Larsen wrote:
Ted Hilts - Thunderbird Acct. wrote:
I have Ubuntu 7.10 and would like to get an open source search engineOpen a Terminal and type locate filename
which I can use on this machine. I would like to tell it what hard
drive and/or directory to search and tell it to search for a file and/or
contents of a file. It would also be nice if it was written in perl or
java or java script or python or some other script or language but not
compiled. Even a bash shell with bash commands. Also, I would like it
to be a server so clients from other machines (like XP) could access the
search domain. I suppose I could use a browser as client which gives
Apache a CGI script with the results back to the browser but I am
hoping not to develop this application but rather (at least initially)
to pick up a search application ready to go.
Thanks -- Ted.
Karl
Karl:
I did a "man filename locate" which returned...
slocate - Security Enhanced version of the GNU Locate
SYNOPSIS
slocate [-qi] [-d <path>] [--database=<path>] <search string>
slocate [-i] [-r <regexp>] [--regexp=<regexp>]
slocate [-qv] [-o <file>] [--output=<file>] slocate [-e
<dir1,dir2,...>] [-f
<fstype1,...>] <[-l <level>] [-c] <[-U <path>] [-u]>
slocate [-Vh] [--version] [--help]
DESCRIPTION
Secure Locate provides a secure way to index and quickly search
for all files on your
system regardless of ownership. It uses incremental encoding
just like GNU locate to
compress its database to make searching faster, but it will also
check file permissions
and ownership before displaying matched entries so that users
will not see files they
do not have access to. Note that permissions and ownership
are not stored in the
database.
I think this will do the job but I will have to do some tests. I will
get back to you in a few days. I might be able to implement a shell as
a wrapper and then use the above command options in conjunction with
other concerns.
Thanks Karl for the suggestion -- Ted
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- References:
- Search Machine for Ubuntu machine
- From: Ted Hilts - Thunderbird Acct.
- Re: Search Machine for Ubuntu machine
- From: Karl Larsen
- Search Machine for Ubuntu machine
- Prev by Date: Re: System Information
- Next by Date: Re: System Information
- Previous by thread: Re: Search Machine for Ubuntu machine
- Next by thread: Re: Search Machine for Ubuntu machine
- Index(es):
Relevant Pages
|