diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -34,7 +34,20 @@ cd dots-backup ./dot-backup.sh ``` -On first run the script creates `~/Programming/GIT/my-dotfiles` and initializes a git repo inside it. Add a remote so you can push: +On first run the script: + +1. Creates `~/.config/dot-backup/` and `~/.local/share/dot-backup/` and prints a short setup summary +2. Creates `~/Programming/GIT/my-dotfiles/{home,system}` and initializes a git repo inside it +3. Runs the backup immediately using built-in defaults + +Optionally set up a config file and custom files list (script will tell you the exact paths): + +```bash +cp config.example ~/.config/dot-backup/config +touch ~/.config/dot-backup/files.list +``` + +Add a remote to the backup repo so you can push: ```bash cd ~/Programming/GIT/my-dotfiles @@ -96,7 +109,6 @@ System files (absolute paths like `/etc/bash_completion.d`) may need `sudo`. Copy `config.example` to `~/.config/dot-backup/config` and edit: ```bash -mkdir -p ~/.config/dot-backup cp config.example ~/.config/dot-backup/config ``` |
