PLEASE DO NOT USE IT
This is a dot files management tools, which is using git as the backend. It is still under development, and not ready for use.
It will create a git repository in the directory ~/.local/share/dotr
, and use it to store all the dot files.
When you add a file to dotr, it will create a copy to the file in the git repository, and commit it.
When you push the changes, it will push all the changes to the git server.
When you pull the changes, it will pull all the changes from the git server, and copy the files to the original location.
It also support ignore files, which is useful when using in different operating systems.
Clone the repository and navigate into the directory:
git clone https://github.com/edwin0cheng/dotr.git
cd dotr
Then, install the project using Cargo:
cargo install --path .
dotr
You can use the following commands:
init
: init database for storage, and create a git repositoryadd
: Add a file to syncpush
: Commit all changes and push all changes to the git serverpull
: Pull all changes from the git server, and copy the files to the original location
MIT