UPDATEDB(8,C) AIX Commands Reference UPDATEDB(8,C) ------------------------------------------------------------------------------- updatedb PURPOSE Update the file list used by the find command. SYNTAX /usr/lib/find/updatedb ---| DESCRIPTION The updatedb command is a script used to create or recreate the file /usr/lib/find/find.codes. This file, when created, contains a list of every file in the system which is located in a publicly readable directory. The file /usr/lib/find/find.codes provides users with a quick way to locate files using find. See the find command on page find-1 for more information on using this file. The updatedb command is usually run once each week by the root user by the following entry in the file /usr/adm/weekly: if [ -L /usr/lib/find/find.codes ]; then echo "" echo "Rebuilding find database:" su -f restrict -c "/usr/lib/find/updatedb" fi This runs the updatedb command as the user restrict so that only publicly-readable files and directories can be searched. If the Transparent Computing Facility is installed, this script is only run on one site in the cluster, the site which stores the writable copy of /usr/lib/find/find.codes. RELATED INFORMATION In this book: "find," "cron." Processed November 8, 1990 UPDATEDB(8,C) 1