COHERENT manpages
This page displays the COHERENT manpage for qfind [Quickly find all files with a given name].
List of available manpages
Index
qfind -- Command Quickly find all files with a given name qfind [-adpv] name ... qfind [-bv] [-sdirectory] The command qfind prints the full path name of each file with a given name. It reads a prebuilt data base, for the sake of speed. This makes qfind much faster than find for locating a file; but it does mean that changes to the file system since the data base was last updated will not be reflected in what qfind prints. The option -b tells qfind to build its data base in file /usr/adm/qffiles. By default, this data base names every file in your system. If you wish to suppress a directory, name it with the -s option. For example, to build the data base but suppress the directory /usr/spool, use the command: qfind -b -s/usr/spool This command excludes the contents of directory /usr/spool and all of its children from the qfind data base. When invoked without the -b option, qfind reads its data base to find file names. Normally, qfind prints the full path name of each file in the COHERENT system that ends with the given name (as it was when you last executed qfind -b.) With the -d option, qfind prints matching directories instead of files. With the -a option, qfind prints both matching files and matching directories. Option -p specifies partial name matching. For example, qfind -p foo matches files /src/foo.c and /doc/foo.r as well as file /usr/bin/foo. Finally, option -v tells qfind to print verbose output. Files /usr/adm/qffiles See Also commands, cron, find, whereis, which Notes Building the qfind data base with the -b option is slow, but it speeds finding files. You may find it convenient to use cron to execute qfind -b to rebuild the data base at night, or some other time when the machine is otherwise idle. If you want to include all files in the data base, the superuser root must run qfind -b.