Notices


Reply
Thread Tools
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#1
Do we have updatedb and locate availabe on Maemo5?
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/
 
Posts: 176 | Thanked: 56 times | Joined on Oct 2009
#2
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's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#3
Originally Posted by Bruce View Post
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.
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#4
Or use mlocate (https://fedorahosted.org/mlocate/) instead.
 

The Following User Says Thank You to Rob1n For This Useful Post:
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#5
[QUOTE=Rob1n;473979]Or use mlocate (https://fedorahosted.org/mlocate/) instead.[/QUOTE.]

I've never used that but it sounds pretty sweat!
 
Posts: 57 | Thanked: 20 times | Joined on May 2010 @ Florence, Italy
#6
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 ?
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#7
Originally Posted by pizzulicchio View Post
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's Avatar
Posts: 549 | Thanked: 299 times | Joined on Jun 2010 @ Australian in the Philippines
#8
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 : )
 

The Following 3 Users Say Thank You to dchky For This Useful Post:
Posts: 57 | Thanked: 20 times | Joined on May 2010 @ Florence, Italy
#9
Thank you very very much for this note!
 
Posts: 267 | Thanked: 183 times | Joined on Jan 2010 @ Campinas, SP, Brazil
#10
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).
__________________
My nickname on freenode is ptl, that is, the consonants of my nickname here. Kind of a long story.
 

The Following User Says Thank You to Patola For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 20:47.