![]() |
File tools: updatedb locate
Do we have updatedb and locate availabe on Maemo5?
|
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.
|
Re: File tools: updatedb locate
Quote:
|
Re: File tools: updatedb locate
Or use mlocate (https://fedorahosted.org/mlocate/) instead.
|
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! |
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 ? |
Re: File tools: updatedb locate
Quote:
|
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 : ) |
Re: File tools: updatedb locate
Thank you very very much for this note!
|
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).
|
Re: File tools: updatedb locate
Because 'locate' has been around since long before those Unix hippies even began to start thinking about growing their hair out in to a long 'stick it to the man' pony tail. : )
I kid! - sorry if I offended anyone. I guess for me it's familiarity, and (perhaps an incorrect) assumption that tracker was for indexing multimedia, not 'everything' starting at / |
Re: File tools: updatedb locate
You can quite easily roll your own.
updatedb as a shell script:- Code:
find / -print > /home/user/MyDocs/updatedb locate :- Code:
grep "$*" /home/user/MyDocs/updatedb |
Re: Bug fix
Quote:
However that locate package *does* need fixing. i used mv /usr/bin/gnu/* /usr/bin |
Re: File tools: updatedb locate
Quote:
Code:
Nokia-N900:~# tracker-files -s Files | grep frcode |
All times are GMT. The time now is 04:09. |
vBulletin® Version 3.8.8