Skip to content

Instantly share code, notes, and snippets.

@soulhotel
Last active February 28, 2024 08:42
Show Gist options
  • Save soulhotel/b65294053bd4da3272c58686cad427c3 to your computer and use it in GitHub Desktop.
Save soulhotel/b65294053bd4da3272c58686cad427c3 to your computer and use it in GitHub Desktop.
BackupFox for Windows OS (backup your UserChrome Profiles with one click)
simple .bat application that will copy your userchrome profile from its main location to a backup location.
this cuts out the need for downloading another application
or having to dig through file explorer to copy paste and sort your info
simply download this bat or make it paste the text below in notepad
change the name in the file to your Windows Name and backup location
save it as a .bat file
@soulhotel
Copy link
Author

this will do the opposite, bring chrome from backup, into your default firefox location.

@echo off &color 0e && Title [Activating Operation: RESTORE FIREFOX]

echo Operation: RESTORE FIREFOX CHROME PROFILE . . Now commencing . . 
echo.
echo this will import your user chrome profile from its backup location, to your current firefox install
echo be careful as to edit the locations below, make sure you are have the backup location correctly linked first,
echo then the current firefox location after, should be, C - Users - You - App Data - etc
echo.
echo ideally this would be used when you have a fresh install of windows and you want to bring in your backed up chrome folder
echo back into firefox, with one click
pause

echo copying

xcopy E:\Firefox\Profiles\youreprofile\chrome\* C:\Users\imjin\AppData\Roaming\Mozilla\Firefox\Profiles\yourprofile\chrome\* /Y /Q /S /E /I /C
xcopy E:\whereever your chrome backup is\chrome\* C:\Users\youcanputitondesktoptoo\Desktop\* /Y /Q /S /E /I /C

cls
color 0e & Title [Operation Successful!]

echo
ECHO.
echo.
echo Operation successful! Import Completed completed on %Date% %Time% . .
echo you may close the window . .
echo.
pause

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment