1) use the -e switch with a comma seperated list of directories to not index. (updatedb -e /Storage,/home)
2)edit the /etc/updatedb.conf file.
- vi /etc/updatedb.conf
- find the PRUNEPATHS section and add the directories to the list seperated by spaces. (PRUNEPATHS = "/afs /media /net /sfs /tmp /udev /var/spool/cups /var/spool/squid /var/tmp /Storage /home")
man updatedb
No comments:
Post a Comment