View previous topic :: View next topic |
Author |
Message |
heavyt Guru
Joined: 03 Mar 2003 Posts: 498 Location: Matrix (Washington,DC)
|
Posted: Fri Nov 07, 2003 6:08 pm Post subject: Want a File/Manager with fast search ability (like Mac) |
|
|
On my mac OS X or OS 9 I'm able to do a search thru my hard drive (20 gigs) for any file(s) and it will only take the file manager about 3 to 8 sec to produce the results. Is there a file manager that can match that performance on the linux side, if so please point me to it, thanks. |
|
Back to top |
|
|
shr1nk Tux's lil' helper
Joined: 21 Jun 2003 Posts: 90
|
Posted: Fri Nov 07, 2003 8:42 pm Post subject: |
|
|
i use the command line locate...
and do an updatedb every once in a while
it takes less than 1 second to find something |
|
Back to top |
|
|
heavyt Guru
Joined: 03 Mar 2003 Posts: 498 Location: Matrix (Washington,DC)
|
Posted: Sat Nov 08, 2003 1:13 am Post subject: |
|
|
shr1nk wrote: | i use the command line locate...
and do an updatedb every once in a while
it takes less than 1 second to find something |
So much to learn, thanks
The command line locate seem to be the perfect search tool why is it not part of all search apps, school me please
Add does linux updatedb at set times (at took 5 mins for it to updatedb)? Once again thanks |
|
Back to top |
|
|
shr1nk Tux's lil' helper
Joined: 21 Jun 2003 Posts: 90
|
Posted: Sat Nov 08, 2003 1:30 am Post subject: |
|
|
yea, it takes a while for updatedb to finish for me as well
it has to scann all files in your hard drive and to my knowledge puts them in a data base file...
simple and it works
if you use in conjunction with the "grep" command, its even more usefull
say if you were looking for a .txt file, and remembered only that it had the word "shr1nk" in it, you would pipe it with grep like so:
locate *.txt | grep shr1nk
that should locate all files with the extension .txt containing the word "shr1nk" in the filename |
|
Back to top |
|
|
heavyt Guru
Joined: 03 Mar 2003 Posts: 498 Location: Matrix (Washington,DC)
|
Posted: Sat Nov 08, 2003 1:45 am Post subject: |
|
|
How often do you updatedb? I am reading man for locate and updatedb. |
|
Back to top |
|
|
shr1nk Tux's lil' helper
Joined: 21 Jun 2003 Posts: 90
|
Posted: Sat Nov 08, 2003 2:01 am Post subject: |
|
|
whenever i get bored =]
you just reminded me to do it..
or you can put it in a schedular like crontab or osmething to do it like everything couple hours or so, along with emerge sync |
|
Back to top |
|
|
zhenlin Veteran
Joined: 09 Nov 2002 Posts: 1361
|
Posted: Sat Nov 08, 2003 2:56 am Post subject: |
|
|
I believe Gentoo has it at once a week - I do it once a day.
But then again - it has to do with the design of the filesystem. HFS+ is built on B+ trees which are blazingly fast to search, I'm told. |
|
Back to top |
|
|
heavyt Guru
Joined: 03 Mar 2003 Posts: 498 Location: Matrix (Washington,DC)
|
Posted: Sat Nov 08, 2003 4:01 pm Post subject: |
|
|
I see. I should add that Mac OS 8 is just as fast |
|
Back to top |
|
|
garn Tux's lil' helper
Joined: 10 Sep 2003 Posts: 131
|
Posted: Sat Nov 08, 2003 5:44 pm Post subject: |
|
|
heavyt wrote: | I see. I should add that Mac OS 8 is just as fast |
HFS is B-Tree based as well |
|
Back to top |
|
|
|