| Age | Commit message (Collapse) | Author | Files | Lines |
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
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>
|
|
- 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>
|
|
|