#dotfiles #dot #files #file #git

app dfile

A program to easily collect and maintain your dotfiles, with git integration

18 stable releases

✓ Uses Rust 2018 edition

1.3.6 Jan 14, 2020
1.3.3 Jan 13, 2020
0.2.0 Apr 12, 2018
0.1.2 Apr 11, 2018

#214 in Command line utilities

Download history 16/week @ 2019-10-17 9/week @ 2019-10-24 12/week @ 2019-10-31 1/week @ 2019-11-07 5/week @ 2019-11-14 5/week @ 2019-11-21 8/week @ 2019-11-28 8/week @ 2019-12-05 18/week @ 2019-12-12 4/week @ 2019-12-26 359/week @ 2020-01-09 107/week @ 2020-01-16

135 downloads per month


625 lines


pipeline status

A small Rust program for organizing your dotfiles.

Running dfile add <FILES> (accepts glob patterns) will attempt to track the FILES via Git, at your $DOTFILE_PATH directory, creating it if it doesn't exist.

Running dfile remove <FILES> (also accepts glob patterns) will stop tracking and remove the listed files from the Git repo. Input paths like /etc/pacman.conf (original file locations).

Running dfile list will display all currently tracked files.

Running dfile push will attempt to add, commit, and push all changes in the dotfile directory to a remote repo, setting one up if none exists.

Running dfile restore [<FILES>] will copy your tracked files back to their original locations. If no files are listed, it will copy all of them. Running this command without a $DOTFILE_PATH Git repo set up will prompt you to clone a repo first.

You can also run Git command from your $DOTFILE_PATH by running dfile git -- <SUBCOMMANDS>.

Run dfile --help and dfile <SUBCOMMAND> --help for all this information.


~349K SLoC