Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Want a File/Manager with fast search ability (like Mac)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Fri Nov 07, 2003 6:08 pm    Post subject: Want a File/Manager with fast search ability (like Mac) Reply with quote

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
View user's profile Send private message
shr1nk
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2003
Posts: 90

PostPosted: Fri Nov 07, 2003 8:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Sat Nov 08, 2003 1:13 am    Post subject: Reply with quote

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 :P

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
View user's profile Send private message
shr1nk
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2003
Posts: 90

PostPosted: Sat Nov 08, 2003 1:30 am    Post subject: Reply with quote

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
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Sat Nov 08, 2003 1:45 am    Post subject: Reply with quote

How often do you updatedb? I am reading man for locate and updatedb.
Back to top
View user's profile Send private message
shr1nk
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2003
Posts: 90

PostPosted: Sat Nov 08, 2003 2:01 am    Post subject: Reply with quote

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
View user's profile Send private message
zhenlin
Veteran
Veteran


Joined: 09 Nov 2002
Posts: 1361

PostPosted: Sat Nov 08, 2003 2:56 am    Post subject: Reply with quote

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
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Sat Nov 08, 2003 4:01 pm    Post subject: Reply with quote

I see. I should add that Mac OS 8 is just as fast
Back to top
View user's profile Send private message
garn
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2003
Posts: 131

PostPosted: Sat Nov 08, 2003 5:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum