Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.45 KB

File metadata and controls

37 lines (25 loc) · 1.45 KB

Snapfig Documentation

Snapfig backs up and restores your dotfiles straight from their original locations.

Quick Links

Overview

Snapfig copies your configuration files to a local vault (~/.snapfig/vault/) that's automatically versioned with git. Unlike symlink-based tools, you keep working with files in their original locations. Snapfig mirrors them on demand or automatically via the background runner.

Key Features

  • Real copies, not symlinks - Actual redundancy, not just pointers
  • Git versioning - Every backup is a commit, full history preserved
  • Background sync - Set intervals for copy/push/pull operations
  • Smart copy - Only changed files are copied
  • Selective restore - Choose exactly which files to restore
  • Nested git handling - Preserves or removes .git dirs in config repos

Getting Help

snapfig --help
snapfig <command> --help

Next: Getting Started

All docs: Getting Started · CLI Reference · Background Runner · Workflows · Architecture