From 78742f69a5080fe0bdab7dac61400028ee107a37 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 6 May 2026 09:42:55 +0200 Subject: Bootstrap config dirs on first run with setup message Script now creates ~/.config/dot-backup/ and ~/.local/share/dot-backup/ on first run and prints a summary with next steps. README updated. Co-Authored-By: Claude Sonnet 4.6 --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 1550e51..fa59028 100644 --- a/README.md +++ b/README.md @@ -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 ``` -- cgit v1.2.3