aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
3 daysStop first run from backing up before user configuresDanilo M.1-1/+2
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 daysFix remaining review issues: quoting and clear behaviourDanilo M.1-8/+8
- Quote $WORKDIR in all cd calls - Quote ${HOME}/$i and $i in -f/-d test expressions - Guard clear with QUIET check to avoid wiping terminal in scripted use Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 daysFix review findings: quoting, set -e trap, system path, push guardDanilo M.1-14/+14
- Quote all $DEFAULT_OUTPUT_DIR references to handle paths with spaces - Replace git rev-parse $(...) with exit-code check to avoid set -e trap - Fix system file dst using $i instead of ${i#/} (double-slash bug) - Quote $i in beginswith call - Simplify push guard to check remote existence directly Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 daysAdd GIT_REMOTE, GIT_BRANCH config options and --push flagDanilo M.3-3/+54
- GIT_REMOTE in config auto-registers origin on every run (idempotent) - GIT_BRANCH sets push target branch (defaults to current branch) - -p/--push pushes after commit; errors if no remote available - Updated config.example and README Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 daysBootstrap config dirs on first run with setup messageDanilo M.2-3/+32
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 <noreply@anthropic.com>
3 daysAdd flags, config system, restore mode, and updated docsDanilo M.4-46/+371
- Add -n/--dry-run, -v/--verbose, -r/--restore, -q/--quiet flags - Auto-commit after backup with timestamp message - Load ~/.config/dot-backup/config for overriding defaults - Load extra dotfiles from ~/.config/dot-backup/files.list - Quiet mode redirects all output to ~/.local/share/dot-backup/backup.log - Add config.example, CLAUDE.md, and updated README Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-06Added script and readmeDanilo M.2-0/+195