Use rsync
to backup and restore platform-specific dotfiles
Sync platform-specific dotfiles to a folder (default: $HOME
)
bash restore.sh --linux
# OR
bash restore.sh --linux $HOME
Back up all platform-specific dotfiles
bash backup.sh --linux
Prerequisite: gitleaks
Gitleaks is a SAST tool for detecting hardcoded secrets like passwords, api keys, and tokens in git repos
bash gitleaks.sh