Page 1 of 1

Suggestion: export/import ALL settings (.ini & .csv)

Posted: Sun Mar 17, 2024 2:30 pm
by kazzybash
hi David, would it be an idea to have an option to export/import ALL Everything-settings in one go? Thereby I mean the .ini, bookmarks & filters? It makes it easier to transfer between different machines. Regards, Kazzy

Re: Suggestion: export/import ALL settings (.ini & .csv)

Posted: Sun Mar 17, 2024 5:42 pm
by horst.epp
Copying all ini and csv files to the new machine is all one needs.

Re: Suggestion: export/import ALL settings (.ini & .csv)

Posted: Sun Mar 17, 2024 6:51 pm
by kazzybash
hi horst, thanks. Now I see that David has addressed this here. Scripting the production of a single backup-file (7zip) could be an idea for me, will consider that then. Regards, kazzy

Re: Suggestion: export/import ALL settings (.ini & .csv)

Posted: Mon Mar 18, 2024 2:39 pm
by therube
What I've been using.
Locations, instance name... would need to be adapted.
(As I copy the files, I also rename them as I use a different -instance name.)

BackUp-HOME.bat:

Code: Select all

:: BU-HOME.bat - back up Everything 15 .db for use elsewhere
:: SjB 03-15-2024

@echo off

:: save to DISK (rather then just RAM) -instance 15's .db
:: takes a moment, so throw in a pause, & wait, a few sec

everything.exe -instance 15 -save-db
ECHO Saving .db to disk...
pause

SET EVERYTHINGDIR=C:\DEV\Locate\15.1371

COPY /y %EVERYTHINGDIR%\"Everything-15.db"        "Everything-HOME.db"
COPY /y %EVERYTHINGDIR%\"Search History-15.csv"   "Search History-HOME.csv"
COPY /y %EVERYTHINGDIR%\"Run History-15.csv"      "Run History-HOME.csv"

:: skipping Everything-15.ini as i make changes to the layout in HOME version that i want to keep
::    COPY /y %EVERYTHINGDIR%\Everything-15.ini       Everything-HOME.ini
ECHO Files copied...
pause

:: update (freshen, actually)
ARJ32 f E-HOME.arj -jt1 -g?
pause
open_home.BAT:

Code: Select all

:: open_home.bat SjB 03-15-2024
:: extract files from .arj - but, only new files or newer files
:: IOW, any unchanged files are not "re-extracted", needlessly

arj32 e E-HOME.arj -u -g?
f = freshen
e = extract
-jt1 tests to make sure there are no errors
-g? file is encrypted, & password is prompted for
-u updates existing files, only extracting new or newer
arj32 is simply a renamed, ARJ

(Similar could be done with any archiver.)

Re: Suggestion: export/import ALL settings (.ini & .csv)

Posted: Tue Mar 19, 2024 9:31 pm
by kazzybash
Thanks therube! much appreciated
headbang.gif
headbang.gif (575 Bytes) Viewed 656 times