The Following User Says Thank You to albright For This Useful Post: | ||
![]() |
2008-02-08
, 12:48
|
|
Posts: 739 |
Thanked: 159 times |
Joined on Sep 2007
@ Germany - Munich
|
#2
|
![]() |
2008-02-08
, 14:14
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#3
|
I thought about porting it (slocate is very usefull yes) but slocate database needs to be frequently updated, through cron. There is no cron tasks by default (but cron system is there). I wonder if there is a reason (performance or anything related).. ?
![]() |
2008-02-08
, 14:54
|
Posts: 145 |
Thanked: 32 times |
Joined on Dec 2007
|
#4
|
![]() |
2008-02-08
, 15:44
|
|
Posts: 299 |
Thanked: 168 times |
Joined on Jun 2006
@ Wales UK
|
#5
|
find / -print > /medi/mmc2/locate.db
grep "$1" /media/mmc2/locatedb | more
crontab -e
0 4 * * * /usr/bin/updatedb
locate leafpad
![]() |
2008-02-08
, 17:13
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#6
|
#!/bin/sh while :; do if [ `date +%H` == 00 ] && sleep 10 && [ "x`battery-status|grep Charging`" != x ]; then play-sound /usr/share/sounds/ui-wake_up_tune.wav fi sleep 3590 done
The Following User Says Thank You to Benson For This Useful Post: | ||
![]() |
2008-02-08
, 19:34
|
|
Posts: 299 |
Thanked: 168 times |
Joined on Jun 2006
@ Wales UK
|
#7
|
![]() |
2008-02-08
, 19:53
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#8
|
Benson
It works and has been working for over a year. I use this regularly and find the '|more' extremely usefull. You can of course 'locate libcurl |more' its just more typing.
Rick
![]() |
2008-02-09
, 00:48
|
Posts: 145 |
Thanked: 32 times |
Joined on Dec 2007
|
#9
|
![]() |
2008-02-09
, 07:19
|
|
Posts: 182 |
Thanked: 46 times |
Joined on Jan 2007
@ Silly-Con Valley
|
#10
|
will run on the n810 (os2008)? TIA,