#dotfiles #dot #files #file #git

app dfile

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

18 stable releases

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

#21 in #dot

Download history 3/week @ 2023-07-24 1/week @ 2023-07-31 22/week @ 2023-08-14 24/week @ 2023-08-21 6/week @ 2023-08-28 45/week @ 2023-09-04 3/week @ 2023-09-11 7/week @ 2023-09-18 8/week @ 2023-09-25 4/week @ 2023-10-02 9/week @ 2023-10-09 15/week @ 2023-10-16 24/week @ 2023-10-23 44/week @ 2023-10-30

92 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.


~449K SLoC