Re: locate如何排除特定位置不要列入db

看板FreeBSD作者時間21年前 (2004/06/25 10:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《tabris@bbs.ee.ntu.edu.tw (Tabris)》之銘言: > 請問locate.updatedb要如何排除特定目錄(和其子目錄) > 不要列入database呢? please man :) man locate.updatedb : The contents of the newly built database can be controlled by the /etc/locate.rc file. /etc/locate.rc : # directories unwanted in output #PRUNEPATHS="/tmp /usr/tmp /var/tmp" -- 真誠最可貴 用心最踏實 -- ※ Origin: SayYA 資訊站 <bbs.sayya.org> ◆ From: kendlee.sayya.org
文章代碼(AID): #10suUj00 (FreeBSD)
文章代碼(AID): #10suUj00 (FreeBSD)