Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.03 KB

File metadata and controls

30 lines (23 loc) · 1.03 KB

rust-dev-sync

Re-inventing the wheel for the purposes of learning Rust 🦀.

At a high level, this package is an application for syncing "workspaces" to different places. Those places could be different local directories, directories on remote machines, or cloud block storage. Local "workspaces" (or directories) are watched for file modifications. When a modification occurs, a syncing action will be performed by any number of syncers configured for the workspace

At its core, this package is basically a simple wrapper on top of fswatch/inotify/etc + rsync.

Usage

Build the application binary

cargo build --release

Then run it

./target/release/rust-dev-sync sync

Config File

The application uses a config file for storing which local paths to sync, what to sync them with, and where. The config file has a basic schema that can be understood better by looking at the example.

TODO:

  • Add subcommand for modifying config file
  • Beef up testing
  • Add block storage syncers