- Backup and restore all your dotfiles.
- Backup and restore all your system files.
- Backup manually installed packages.
- push dotfiles to your repo
- White spaces in paths are supported.
Simply put all the paths of your dotfiles(directories or files) in "dotfiles_list.txt" as follow: dotfiles_list.txt:
.config/polybar
.config/nvim/init.vim
(No need to add your home path.) Run the script in your terminal:
$ ./dotfiles_manager.sh
Simply put all the paths of your system files(directories or files) in "system_files.txt" as follow: system_files.txt:
/etc/lightdm
/etc/fstab
Run the script in your terminal:
$ ./dotfiles_manager.sh
Clone your dotfile backup repository.
Put the dotfiles_manager.sh and dotfiles_list.txt files inside your cloned repository. Run the script in your terminal:
$ ./dotfiles_manager.sh
Put the dotfiles_manager.sh and system_files.txt files inside your cloned repository. Run the script as root in your terminal:
$ ./dotfiles_manager.sh
Thanks to Mortezadadgar for his help and feedbacks on this script!