Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to open/read a database file created by updatedb with python?

I'm just curious if anyone has done this before. I'd like to use the database file generated by updatedb as sort of a "cache" for a searching mechanism, but without having to make any external calls to 'locate'.

like image 622
musashiXXX Avatar asked Oct 26 '25 18:10

musashiXXX


1 Answers

Try having a look at this file:

https://github.com/WojciechMula/locatedb

I believe it does what you are looking for.

like image 168
so12311 Avatar answered Oct 29 '25 08:10

so12311



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!