Overview

HTTPS SSH

dfm

dfm is a simple, configurable, and fast backup manager (originally for dotfiles).

Features

  • git is optional.
  • retains file structure.
  • symlinks are copied as the linked file.
  • creates a blank config (~/.dfmrc) template.

Requirements

  • rsync
  • git (optional)

Simple example config

BDIR=configs
BPATH=/media/wdblue/git/personal/dotfiles
REPO='https://bitbucket.org/natemaia/dotfiles'
BKPS=(
~/{bin,.zsh,.zshrc,.zprofile,.xinitrc,.dfmrc}
~/.{inputrc,gnupg/gpg-agent.conf,gitconfig}
~/.config/nvim/{init.vim,after,spell,plugin}
~/.config/{dunst,fontconfig,mimeapps.list}
)

Usage

If ~/.dfmrc does not exist one will be created, this needs to be edited before dfm will actually do anything.

USAGE:  dfm [OPTIONS]

OPTIONS:
        -h         Display this usage message
        -b         Backup files listed in ~/.dfmrc
        -r         Restore a previous backup
        -c         Clean existing backup
        -p         Push changes to git origin

 Configuration is done in ~/.dfmrc
 A default will be created if it doesn't exist.

 Without any options a selection menu is opened