Excluding Directories from 'locate' (updatedb)

Edit the /etc/updatedb.conf file. Add the paths to the PRUNEPATHS line. For example:

PRUNEPATHS="/tmp /var/spool /media /mnt"
 
linux/excluding_directories_from_locate_updatedb.txt · Last modified: 2008/11/20 08:22 (external edit)
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki