![]() |
Is there any chance of getting locate and find on os2008?
I'm wondering if it's possible to get the locate and find commands added to OS2008. Those are hugely useful and I use them a lot in regular Linux and BSD.
|
Re: Is there any chance of getting locate and find on os2008?
I think find is already there?
Code:
~ $ find --help |
Re: Is there any chance of getting locate and find on os2008?
"mlocate" is available from the "debfarm" repository. Works fine on diablo.
One-click Repository Install: http://gronmayer.com/it/picts/install_button_small.png debfarm Application Manager Repository Info: Code:
Catalog name: debfarm |
Re: Is there any chance of getting locate and find on os2008?
I use these scripts to find files easily. I run updatedb every so often to update the database; and run "locate matchingtext" to find file or directory names that match "matchingtext"
updatedb.sh Code:
find / -print > /media/mmc2/db/locate.db Code:
## script to find file from database created with updatedb.sh |
Re: Is there any chance of getting locate and find on os2008?
That's busybox find, which is notably deficient vs. GNU find. I think I've seen a couple of GNU find packages; one dumped it with the name find with the prefix /usr/something/, and the other installed it with prefix /usr/, but named it gnufind. Don't have either of them on now, though...
Edit: And it becomes apparent that terrencegf already posted this; guess I scrolled right past somehow: As for locate, mlocate is available from debfarm -- .install for the repo is http://www.gronmayer.com/it/dl.php?id=205 |
Re: Is there any chance of getting locate and find on os2008?
Well, I tried bluesubaru's method and got errors about too many files open. As for terrencegf, I'll have to give that a spin later.
|
Re: Is there any chance of getting locate and find on os2008?
Quote:
|
All times are GMT. The time now is 14:16. |
vBulletin® Version 3.8.8