A python script to sync your dotfiles
Switch branches/tags
Nothing to show
Clone or download
vibhavp Merge pull request #14 from husjon/master
Fixed symlink removal.
Latest commit 527c5ed Mar 13, 2018
Failed to load latest commit information.
README.org add install section to README example Mar 29, 2017
dotty.py Fixed symlink removal. Mar 11, 2018


Dotty, a dotfile sync tool

View on Github

Dotty is a little python script for syncing dotfiles stored on your git repo.


Add dotty to your dotfiles git repository:

git submodule add https://github.com/vibhavp/dotty

To Update dotty to the latest version:

git submodule update --remote dotty


Dotty uses a JSON-formatted config located on the root of your dotfile repository. Currently, dotty can create/check directories, link or copy files/directories, install packages and execute shell commands.


    "directories": ["~/emacs.d"],
    "link": {
        "source": "dest",
        "zshrc": "~/.zshrc"
        //directories can be linked too
        "emacs/lisp/": "~/.emacs.d/lisp"

    "copy": {
        "source": "dest",
        "offlineimaprc": "~/.offlineimaprc"

    "install_cmd": "pacaur -Syu",
    "install": [
    "commands": [
        "emacs -batch -Q -l ~/.emacs.d/firstrun.el"


usage: dotty.py [-h] [-r] config

positional arguments:
  config         the JSON file you want to use

optional arguments:
  -h, --help     show this help message and exit
  -r, --replace  replace files/folders if they already exist