2008年10月2日 星期四

Creat filesystem index for searhing purpose on Unix

if there are no updatedb and locate commands available, this is an alternative method on any unix-like os

1. using find to produce a list of all files' name and path

find / > fsindex

2. search for file

grep keyword fsindex

沒有留言: