2 Jun
2004
2 Jun
'04
06:44
On Wednesday 02 June 2004 07.45, Bob S. wrote:
Hello SuSE folk,
How does one get locate to update itself?
ie: I use locate to find a bunch of files I want to delete. I go and delete those files/packages, do another locate, and it still shows the files/packages. A check back to the affected folders shows that it is gone.
Somewhat frustrating.
Run updatedb. It gets run by default every night at quarter past midnight. An interesting thought though: is there such a thing as 'update aware' file operation tools such as 'rm' or 'mv' that will automatically update the updatedb? I wonder what it would take to write such tools. hmmmm