Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

updatedb(1) [opensolaris man page]

UPDATEDB(1)						      General Commands Manual						       UPDATEDB(1)

NAME
updatedb - update the slocate database SYNOPSIS
updatedb [-u] [-U path] [-e path1,path2,...] [-f fstype1,...] [-l [01] ] [-q] [-v,--verbose] [-V, --version] [-h, --help] pattern... DESCRIPTION
This manual page documents slocate, a security-enhanced version of locate. updatedb is simply a link to slocate that implies the -u option. OPTIONS
-u Create slocate database starting at the root directory. This is the default behavior when called as updatedb. -U path Create slocate database starting at path path. -e dirs Exclude directories in the comma-separated list dirs from the slocate database. -f fstypes Exclude file systems in the comma-separated list dirs from the slocate database. -l <num> Security level. -l 0 turns security checks off, which will make searches faster. -l 1 turns security checks on. This is the default. -q Quiet mode; error messages are suppressed. -v Verbose mode; display files indexed when creating database --help Print a summary of the options to slocate and exit. --version Print the version number of slocate and exit. CONFIGURATION FILE
Secure Locate's updatedb will automatically parse GNU Locate's /etc/updatedb.conf. But please be aware that Secure Locate currently does NOT support all options provided by GNU Locate's configuration file. Options currently supported by Secure Locate are PRUNEFS and PRUNEPATHS SEE ALSO
slocate(1) UPDATEDB(1)

Check Out this Related Man Page

UPDATEDB(1L)															      UPDATEDB(1L)

NAME
updatedb - update the slocate database SYNOPSIS
updatedb [-u] [-u path] [-e path1,path2,...] [-f fstype1,...] [-l [01] ] [-q] [-v,--verbose] [-V, --version] [-h, --help] pattern... DESCRIPTION
This manual page documents slocate, a security-enhanced version of locate. updatedb is simply a link to slocate that implies the -u option. OPTIONS
-u Create slocate database starting at the root directory. This is the default behavior when called as updatedb. -U path Create slocate database starting at path path. -e dirs Exclude directories in the comma-separated list dirs from the slocate database. -f fstypes Exclude file systems in the comma-separated list dirs from the slocate database. -l <num> Security level. -l 0 turns security checks off, which will make searches faster. -l 1 turns security checks on. This is the default. -q Quiet mode; error messages are suppressed. -v Verbose mode; display files indexed when creating database --help Print a summary of the options to slocate and exit. --version Print the version number of slocate and exit. ENVIRONMENT
SEE ALSO locate(1L), UPDATEDB(1L)
Man Page

13 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

strange

Hi All I am doing a locate <file_name> on my Redhat 7 System. I am unable to get the output. All the keep getting is: locate: this is not a vlaid slocate database: /var/lib/locate/slocate.db What des this mean? Is my system compromised? Thanks in advance. KS (13 Replies)
Discussion started by: skotapal
13 Replies

2. UNIX for Dummies Questions & Answers

3-d

I Want to know if you can make 3-D drawings using a F-Secure link up from a college University? (1 Reply)
Discussion started by: alinton
1 Replies

3. HP-UX

slocate

hello, Does anyone know where i can get a version of 'slocate' for hp-ux (11i v1). I like it on linux but can find a depot for hp-ux. Dont want to compile it on a work machine... thanks! (6 Replies)
Discussion started by: satinet
6 Replies

4. Shell Programming and Scripting

rm -rf

Hi I am logged in as sudo root , I have large number of sub dirs under directories , there are around 65535 dirs, want to remove all of them, rm -rf *, asks me examine files in directory STORE (yes/no)? for every dir .... please suggest a solution. Thanks, Rajesh (5 Replies)
Discussion started by: Rajesh Gohad
5 Replies

5. UNIX for Dummies Questions & Answers

creating a file with a list

I would like to create a text file that contains the list (names of files and dirs) of a particular directory... any ideas ? (5 Replies)
Discussion started by: hinman
5 Replies

6. Linux

slocate db

Hi, What is slocate db? Thanks. (3 Replies)
Discussion started by: itik
3 Replies

7. UNIX for Dummies Questions & Answers

command locate.

Hi, I am aware of the command locate/slocate. But when I try to search the file which is located in /tmp. Its not able to get it. I tried by updating the database also with the command updatedb. Is there any consern that the command 'locate' dont check /tmp??? And I knew that locate is the... (5 Replies)
Discussion started by: praveen_b744
5 Replies

8. Shell Programming and Scripting

Locate file and path

Hi, I am writing a script to manage my server a bit better, but want to make it so if a path changes I dont need to update the script. I was thinking of doing something like if then echo -e "psa/admin/sbin located " else echo "no luck chump" fi but would need to... (2 Replies)
Discussion started by: foz
2 Replies

9. UNIX for Advanced & Expert Users

script to recursively change permissions on file and dirs differently?

Hi there, I need to change all files/dirs 1. all files with 744 2. all dirs with 755 is there a script for that ? thanks, thegunman (13 Replies)
Discussion started by: TheGunMan
13 Replies

10. AIX

Locate command

Hello to all, Can I use the "locate" command on AIX 5.3 like on Linux. If yes what packages should I install and where can I find them. Thanks, Enid (9 Replies)
Discussion started by: enux
9 Replies

11. UNIX for Dummies Questions & Answers

**HELP** how to do a listing of dirs and all sub dirs only

I am trying to get a listing of ALL directories only under /export (as an example). I can get all the dirs directly under /export but I need any sub dirs under those dirs. I've looked (here and google) but can not find anything that works (4 Replies)
Discussion started by: bbraml
4 Replies

12. Shell Programming and Scripting

AWK help print dirs with files in it

Hi, I'm writing some start of day checks for my work. I want to check some dirs for files that have been created longer than 10 mins ago and not been transfered. I've already used a find command to write a list of files that meet this criteria to a log called sod.log i.e. ... (1 Reply)
Discussion started by: elcounto
1 Replies

13. Emergency UNIX and Linux Support

find all the dirs starting with particular name

Hi Experts, I want to find all the dirs , subdirs on the sever which start with "sr". Can anyone let me know command for the same. find . -type d -name sr* I tried this but it is not working. Thanks, Ajay (4 Replies)
Discussion started by: ajaypatil_am
4 Replies