|Global options to pass on to find. The environment variable FINDOPTIONS also sets this value. Default is none.|
|Non-network directories to put in the database. Default is /.|
|Network (NFS, AFS, RFS, etc.) directories to put in the database. The environment variable NETPATHS also sets this value. Default is none.|
|Directories to not put in the database, which would otherwise be. Remove any trailing slashes from the path names, otherwise updatedb won't recognise the paths you want to omit (because it uses them as regular expression patterns). The environment variable PRUNEPATHS also sets this value. Default is /tmp /usr/tmp /var/tmp /afs.|
|File systems to not put in the database, which would otherwise be. Note that files are pruned when a file system is reached; any file system mounted under an undesired file system will be ignored. The environment variable PRUNEFS also sets this value. Default is nfs NFS proc.|
|The database file to build. Default is system-dependent. In Debian GNU/Linux, the default is /var/cache/locate/locatedb.|
|The user to search non-network directories as, using su(1). Default is to search the non-network directories as the current user. You can also use the environment variable LOCALUSER to set this user.|
|The user to search network directories as, using su(1). Default is daemon. You can also use the environment variable NETUSER to set this user.|
|Create the database in the old format. This is a synonym for --dbformat=old.|
|Create the database in format F. The default format is called LOCATE02. F can be old to select the old database format (this is the same as specifying --old-format). Alternatively the slocate format is also supported. When the slocate format is in use, the database produced is marked as having security level 1. If you want to build a system-wide slocate database, you may want to run updatedb as root.|
|Print the version number of updatedb and exit.|
|--help||Print a summary of the options to updatedb and exit.|
find(1), locate(1), locatedb(5), xargs(1)
The full documentation for updatedb is maintained as a Texinfo manual. If the info and updatedb programs are properly installed at your site, the command info updatedb should give you access to the complete manual.
The updatedb program correctly handles filenames containing newlines, but only if the systems sort command has a working -z option. If you suspect that locate may need to return filenames containing newlines, consider using its --null option.
The best way to report a bug is to use the form at http://savannah.gnu.org/bugs/?group=findutils. The reason for this is that you will then be able to track progress in fixing the problem. Other comments about updatedb(1) and about the findutils package in general can be sent to the bug-findutils mailing list. To join the list, send email to email@example.com.