elfor wrote:Hi, long time first time...
Would it be possible, or make sense, to have Everything optionally cache the index data in RAM?
Making it truly portable with such option enabled, as in, no "Everything.db" file would be created!
Everything already loads the database in RAM:
When starting Everything, the database is loaded from disk to RAM; only when you exit Everything, the database is saved to disk.
Loading the database from disk and writing it to disk is very (very!) fast.
If for one reason or another (which I can't think of, btw) you don't want a database on disk, it is possible:
* Place Everything.exe in a folder
* Start Everything
* Configure Everything to your liking
* Exit Everything. This will create an Everything.ini and an Everything.db
* delete Everything.db
That was the straightforward part ... now things get a little more interesting:
* Start Everything with Everything.exe -db "nul"
As Everything doesn't find an existing database, it will create one (in RAM), using the previously defined settings in Everything.ini.
Now, when you exit Everything, it will write it to "nul"
nul is a special file device on Windows; sending a file to nul basically means ignoring the output.
(for the fun of it: try to create a file named nul in explorer or CMD).
Conclusion: no database on disk; mission accomplished
: Turns out there is already a -nodb
option: Everything.exe -nodb That does exactly what you want ...
Do not save to or load from the "Everything" database file.
(from: http://www.voidtools.com/support/everyt ... e_options/
That's way better than my suggested -db "nul" option! Sorry ....
: Now I think of it .... the "nul" option *can* be useful:
Edit Everything.ini and chage the line "db_location=" to:
Now you can start Everything.exe without parameters and still not have a database on disk.