How just to force Everything to create a DB and exit?
-
- Posts: 7
- Joined: Tue Dec 22, 2009 4:11 pm
How just to force Everything to create a DB and exit?
Hello.
I need this:
I need just to copy everything and es on remote pc, start everything using psexec to make a new db and starting es using psexec to search remotely. The problem is that need everything to exit just after DB creation.
Thanks in advance.
I need this:
I need just to copy everything and es on remote pc, start everything using psexec to make a new db and starting es using psexec to search remotely. The problem is that need everything to exit just after DB creation.
Thanks in advance.
Re: How just to force Everything to create a DB and exit?
You will need the latest alpha release of "Everything".
Create a batch file newdb.bat in your Everything installation folder:
Create a batch file newdb.bat in your Everything installation folder:
Code: Select all
del Everything*.db
Everything.exe -startup -quit
-
- Posts: 7
- Joined: Tue Dec 22, 2009 4:11 pm
Re: How just to force Everything to create a DB and exit?
Thanks for the reply.
Its strange but I can' find Everything.db Everything*.db anywhere... The tool works fine, but, don't create such a file. I use proccess monitor just to see which file the tool use, but there is nothing interesting.
Maybe parameter for db destruction will be usefull .
Thanks in advanced.
Its strange but I can' find Everything.db Everything*.db anywhere... The tool works fine, but, don't create such a file. I use proccess monitor just to see which file the tool use, but there is nothing interesting.
Maybe parameter for db destruction will be usefull .
Thanks in advanced.
Re: How just to force Everything to create a DB and exit?
In Everything (of course) do a search for "everything .db".
And you will find (which I hadn't expected) not necessarily "everything.db", but "Everything.RUBENXP43.RUBEN.db".
So looks to now default to Everything+Computer name+User name.db.
(I must have known that, but hadn't actually realized that that was happening. <This likely is only the case in the later alpha builds.>)
And you will find (which I hadn't expected) not necessarily "everything.db", but "Everything.RUBENXP43.RUBEN.db".
So looks to now default to Everything+Computer name+User name.db.
(I must have known that, but hadn't actually realized that that was happening. <This likely is only the case in the later alpha builds.>)
-
- Posts: 7
- Joined: Tue Dec 22, 2009 4:11 pm
Re: How just to force Everything to create a DB and exit?
Hello. Here is the results:
Everything.db - nothing
Everything. db - nothing
Everything*db - nothing
Everything* - nothing like database.
Can you give me the potential location of these file?
Is it possible just to use memory for that or to name the file something absolutely different like username+computername.ev or something else?
Thanks in advance.
Everything.db - nothing
Everything. db - nothing
Everything*db - nothing
Everything* - nothing like database.
Can you give me the potential location of these file?
Is it possible just to use memory for that or to name the file something absolutely different like username+computername.ev or something else?
Thanks in advance.
Re: How just to force Everything to create a DB and exit?
The Everything.ComputerName.UserName.db file is created in the same location as your Everything.exe.
You can change the location of the db with the -db command line option or the db_location settting in the Everything.ini.
It is currently not possible to change the database file name.
I have added the option to never save the database to my "Things to do" list.
You can change the location of the db with the -db command line option or the db_location settting in the Everything.ini.
It is currently not possible to change the database file name.
"Everything" Creates the database in memory and does not save the database until you exit "Everything".Is it possible just to use memory for that.
I have added the option to never save the database to my "Things to do" list.
-
- Posts: 7
- Joined: Tue Dec 22, 2009 4:11 pm
Re: How just to force Everything to create a DB and exit?
OK. This means that for me everything can't save the db file after exit.
And now I know why - I don't close everything at all. And maybe windows close it not like expected when it shutdown.
I succseed to make a db file manually - start everything, and close it from the system tray, and the db file is there. but...
"Everything.exe -startup -quit" just don't make a db file - this just pass trough everything and close it for milliseconds - no cashing, no db file.
Thanks
And now I know why - I don't close everything at all. And maybe windows close it not like expected when it shutdown.
I succseed to make a db file manually - start everything, and close it from the system tray, and the db file is there. but...
"Everything.exe -startup -quit" just don't make a db file - this just pass trough everything and close it for milliseconds - no cashing, no db file.
Thanks
Re: How just to force Everything to create a DB and exit?
I will improve the option to create the DB and exit for the next release of "Everything".
-
- Posts: 7
- Joined: Tue Dec 22, 2009 4:11 pm
Re: How just to force Everything to create a DB and exit?
Thanks! I will wait for it! .
Now I use the stable version, check with some script when the db file stop to grow up fast and kill everything . Its not best practice but works (not if there is some big file transfer on the server ).
Now I use the stable version, check with some script when the db file stop to grow up fast and kill everything . Its not best practice but works (not if there is some big file transfer on the server ).
-
- Posts: 7
- Joined: Tue Dec 22, 2009 4:11 pm
Re: How just to force Everything to create a DB and exit?
I have second question and I don't want to make new topic.
How can I force Everything not to scan but just to use the current DB?
I have 4TB files and I need to scan just once and after that just to use the db file - not to scan for changes every time.
Thank you in advanced.
BR
Yavor Indzhev
How can I force Everything not to scan but just to use the current DB?
I have 4TB files and I need to scan just once and after that just to use the db file - not to scan for changes every time.
Thank you in advanced.
BR
Yavor Indzhev
-
- Posts: 7
- Joined: Tue Dec 22, 2009 4:11 pm