View previous topic :: View next topic |
Author |
Message |
trsix n00b
Joined: 07 Jun 2006 Posts: 29
|
Posted: Sat Jul 08, 2006 2:26 am Post subject: index your harddrive for faster searching [SOLVED] |
|
|
I hope that someone can help me out here.
1. I want to index my harddrive so i can search for things faster
- i heard that you could do this so that when youre searching for files on your harddrive you are just searching a database instead of actually searching the whose drive for the file relying on the speed of the drive.
2. I want to set up a cron job to have this file updated on a regular basis.
Any takers ?
Last edited by trsix on Sun Jul 09, 2006 8:58 am; edited 1 time in total |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9538 Location: beyond the rim
|
Posted: Sat Jul 08, 2006 3:28 am Post subject: |
|
|
Do you talk about slocate or something to index file contents as well? |
|
Back to top |
|
|
--D_S-- Tux's lil' helper
Joined: 06 Jan 2005 Posts: 90 Location: Guatemala
|
Posted: Sat Jul 08, 2006 3:36 am Post subject: |
|
|
easy just emerge slocate:
To update slocate database use:
and add to cron
/etc/crontab wrote: |
#min hour day month day-week job
0 0 * * 1 updatedb -e /mnt,/tmp,/var/tmp,/usr/portage
|
-e is for excluting dirs in the database _________________
Athlon Xp 2400+
|
|
Back to top |
|
|
trsix n00b
Joined: 07 Jun 2006 Posts: 29
|
Posted: Sat Jul 08, 2006 4:16 am Post subject: |
|
|
Genone wrote: | Do you talk about slocate or something to index file contents as well? |
Slocate is what i am looking for, Perfect !!! |
|
Back to top |
|
|
trsix n00b
Joined: 07 Jun 2006 Posts: 29
|
Posted: Sat Jul 08, 2006 4:21 am Post subject: |
|
|
--D_S-- wrote: | easy just emerge slocate:
|
nice, i suspected there was a package for this, thanks |
|
Back to top |
|
|
|