This repos will manage my future data sync from machine to machine including dot files and packages.
On the root of this project you have a folder containing some utility scripts that will be covered later on and some basic files (to copy paste if you need or just as a reminder to get yours backed up).
The files in the root directory serves as a reminder of the files to be backed up from your old laptop .
-
shell settings => themes and plugins for my ohmyzsh configuration.
-
.zshrc => Configuration file for zsh if you are using zsh as a terminal.
-
personal-zsh-theme.zsh.theme => This one is a customized (modified by me) zsh theme inspired from daivasmara.
-
settings.zip => PHPStorm configuration .
Inside this folder you have a first script called backup-packages which (as its name indicates) will backup all your installed packages in one folder :
Included package managers are : brew, yarn, npm, gems, composer.
chmod a+x ./scripts/backup-packages.sh
./backup-packages.sh
After running the backup scripts you'll find several *.txt files in packages folder.
Now you're done with your old machine and you can get started with the import on your new machine.
To do that you'll need to run 2 scripts one to reinstall brew packages and the other one for npm/yarn & rubygems .
chmod a+x ./scripts/packages/brew-bulk-install.sh
chmod a+x ./scripts/packages/packages-reinstall.sh
./brew-bulk-install.sh
./packages-reinstall.sh
On the new machine you'll need the following tools to be installed.
For composer packages a simpler solution would be to copy your composer.json in your home directory and directly do a composer install (much simpler i guess).
Feel free to submit issues or pull request or enhancement suggestions. If you wanna have a chat.