A simple script to start backing up your dotfiles. Intended for Unix-like systems (Mac or Linux).
- Have python3 installed
- Create a git repository anywhere (like your home directory and init and connect to remote repo.
- Add this file to the git repository.
- Change the global variables below to match your configuration.
- Add the files you want copied to the files dict.
- chmod +x dotfiles.py
- run
echo "alias dotfiles=<git-path>/dotfiles.py" >> ~/.bash_profileor similar - run
dotfiles