Link to this comparison view

linux:excluding_directories_from_locate_updatedb [2020/06/01 22:53] (current)
Line 1: Line 1:
 +====== 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"
comments powered by Disqus
linux/excluding_directories_from_locate_updatedb.txt · Last modified: 2020/06/01 22:53 (external edit)