-
Notifications
You must be signed in to change notification settings - Fork 0
Usage
Shreyas V edited this page Nov 22, 2025
·
2 revisions
dotpush init
Creates config.ini at ~/.config/dotpush/config.ini
If the file already exists, reinitialize with
dotpush init --force
to overwrite/reset it.
dotpush init github
Prompts for a Personal Access Token (PAT) and stores it securely using keyring. If config/GitHub settings already exist:
dotpush init github --force
dotpush add <path>
Example:
dotpush add ~/.bashrc
dotpush add ~/.config/fish/
dotpush remove <path>
dotpush list
Displays everything currently inside [Files] section of config.ini.
dotpush backup
- Creates backup directory (if not present)
- Copies every file/dir listed in config.ini
- Preserves permissions and symlinks
- Does not push to GitHub
dotpush push
dotpush schedule --interval 30m
~/.config/systemd/user/dotpush.service~/.config/systemd/user/dotpush.timer
systemctl --user list-timers | grep dotpush
systemctl --user status dotpush.timer
journalctl --user -u dotpush.service -f
10m 2h 1d 45s
systemctl --user disable --now dotpush.timer
dotpush init
dotpush add ~/.bashrc
dotpush backup
dotpush push
dotpush schedule --interval 1h