findutils_4.2.20-1


www.gnu.org/software/findutils/findutils.html

findutils.pup packaged by Bruce B on June 12, 2005

The tools supplied with this package are:

     
Note: This version seems to do a good job of finding files in
vfat partitions, unlike previous versions.



Simple usage instructions


To build the database

# updatedb

To locate files

# locate name.of.file

Tips and examples


Suppose I want to find gimp icons I could enter the following command.

# locate gimp

The problem is it will display every path name that has the word "gimp" in it.
To narrow down the search I would pipe the output to grep looking only for .xpm
files.

# locate gimp | grep ".xpm"

This time the output will be much closer to the files I'm looking for. I might also
want to find all .png files with the word "gimp" in the path.

# locate gimp | grep ".png"

I can also redirect the output to a text file as follows.

# locate gimp | grep ".png">output.txt

If I want to see the output of my search on screen and make a text file I could
use the following command with the tee utility.

# locate gimp | grep ".png" | tee output.txt

Also you can select the line you want in rxvt and hit ctrl-c to put it on the
clipboard. You can paste the line to a text file. You can also paste it to the
# prompt by pressing the mouse wheel.


The installation program makes the following changes to etc/rc.d/rc.local


mkdir /var/cache
ln -sf /root /var/cache/locate

A backup copy of rc.local is made as rc.local-findutils.bak

If you have a type 2 installation you may wish to delete these lines and make a
permanent directory called: /var/cache/locate



List of files installed by findutils.pup

/usr/lib/locate/
/usr/lib/locate/bigram
/usr/lib/locate/code
/usr/lib/locate/frcode
/usr/bin/updatedb
/usr/bin/locate
/usr/bin/xargs
/usr/bin/find
/usr/local/bin/sort
/root/my-roxapps/findutils/
/root/my-roxapps/findutils/findutils.html
/root/my-roxapps/findutils/AppRun
/root/my-roxapps/findutils/copyright.txt
/root/my-roxapps/findutils/.DirIcon
Link to  copyright.txt