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

Discussion related to "Everything" 1.5 Alpha.
Post Reply
kazzybash
Posts: 98
Joined: Mon Mar 02, 2020 9:55 pm

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

Post 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
horst.epp
Posts: 1344
Joined: Fri Apr 04, 2014 3:24 pm

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

Post by horst.epp »

Copying all ini and csv files to the new machine is all one needs.
kazzybash
Posts: 98
Joined: Mon Mar 02, 2020 9:55 pm

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

Post 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
therube
Posts: 4610
Joined: Thu Sep 03, 2009 6:48 pm

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

Post 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.)
kazzybash
Posts: 98
Joined: Mon Mar 02, 2020 9:55 pm

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

Post by kazzybash »

Thanks therube! much appreciated
headbang.gif
headbang.gif (575 Bytes) Viewed 270 times
Post Reply