maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   File tools: updatedb locate (https://talk.maemo.org/showthread.php?t=40647)

rm42 2010-01-15 05:18

File tools: updatedb locate
 
Do we have updatedb and locate availabe on Maemo5?

Bruce 2010-01-15 06:31

Re: File tools: updatedb locate
 
I have often noticed updatedb using large amounts of CPU on its daily scan. I would not want it using large amounts of battery every day.

rm42 2010-01-15 12:56

Re: File tools: updatedb locate
 
Quote:

Originally Posted by Bruce (Post 473288)
I have often noticed updatedb using large amounts of CPU on its daily scan. I would not want it using large amounts of battery every day.

I think it can be set to only run manually.

Rob1n 2010-01-15 13:07

Re: File tools: updatedb locate
 
Or use mlocate (https://fedorahosted.org/mlocate/) instead.

les_garten 2010-01-16 02:22

Re: File tools: updatedb locate
 
[QUOTE=Rob1n;473979]Or use mlocate (https://fedorahosted.org/mlocate/) instead.[/QUOTE.]

I've never used that but it sounds pretty sweat!

pizzulicchio 2010-06-23 20:51

Re: File tools: updatedb locate
 
Hi to all,
i'm sorry for my "very simple" question but, how is it possible to use locate on my N900?
i have installed the package but it's not present the command "locate" or "updatedb".
What i have to do ?

Rob1n 2010-06-23 21:21

Re: File tools: updatedb locate
 
Quote:

Originally Posted by pizzulicchio (Post 726819)
Hi to all,
i'm sorry for my "very simple" question but, how is it possible to use locate on my N900?
i have installed the package but it's not present the command "locate" or "updatedb".
What i have to do ?

It looks like they're both installed into /usr/bin/gnu, so either add that to your PATH or just call /usr/bin/gnu/updatedb, etc.

dchky 2010-07-18 14:55

Bug fix
 
For anyone wanting to actually be able to use updatedb from the locate package, there's a tiny problem with the updatedb script.

You'll need to edit /usr/bin/gnu/updatedb

Line 208 ----> : ${find:=${BINDIR}/find}

Change this to ----> : ${find:=${BINDIR}/gfind}

Once done, gupdatedb and glocate will work as expected.

Hope this helps someone : )

pizzulicchio 2010-08-14 13:55

Re: File tools: updatedb locate
 
Thank you very very much for this note!

Patola 2010-08-14 14:33

Re: File tools: updatedb locate
 
Why would you install updatedb/slocate? You would have two tools that do the same thing. Tracker already indexes all the files. "tracker-files -s Files | grep -i string" locates what you want (I don't know why tracker-search does not work though).


All times are GMT. The time now is 21:16.

vBulletin® Version 3.8.8