>> "mount a sqlite database file as a normal filesystem"
I'm looking to do the opposite. Given a location, recurse it, stat() each file and create the database.
I'm looking to do the opposite. Given a location, recurse it, stat() each file and create the database.
I have yet to find a good solution for linux CLI... something that uses an internal database that is kept up to date with all directory structure changes.
Maybe someone else has seen something cool for this? :D
I guess I can see that, but now you have cache invalidation (someone else linked to Spotlight, which does this as a background process). SQLite files can be larger than any physical medium you can purchase so why not go the distance?
Also file data is available in osquery: https://osquery.io/schema/5.2.3/#file