go install github.com/Tronikelis/tdm@v0.2
tdm add
- Loops over synced files and updates them from local files
tdm add [directory]
- Loops over [directory] and copies every file into synced dir
tdm sync
- Loops over synced files and copies them into relevant local files
First of all, I want to take a shot at this myself. And I found that existing solutions I tried are complex
and they didn't handle nested .git
directories
Most ppl handle dotfiles in git, and I want to do that as well, so there is a problem when adding nested .git dirs
tdm
will .zip
.git
directories if it encounters one
The synced files are copied into ~/.tdm/synced/
This means you can git init
in ~/.tdm/
and track your dotfiles with git, or with any other tool