resyncd

command module
v0.0.0-...-5940721 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 14 Imported by: 0

README

resyncd

Synchronizes macOS local files and directorines with a remotes. Inspired by Lsyncd.

Installation

$ go get github.com/idr0id/resyncd
$ resyncd example.toml

Configuration

[[sync]]
source = "/Users/username/projects/example"
target = "root@example.com:/srv/http/example.com"
exclude = [
  "**/.idea",
  "**/.git",
  "some-file-in-any-folder",
  "/path/to/specified/file"
]
  [sync.rsync]
  rsh = "/usr/bin/ssh -i /Users/username/.ssh/id_rsa -o StrictHostKeyChecking=no"
  acls = true
  perms = true
  
[[sync]]
source = "/Users/username/projects/example2"
target = "root@example.com:/srv/http/example2.com"
exclude = [
  "**/.idea",
  "**/.git",
]
  [sync.rsync]
  rsh = "/usr/bin/ssh -i /Users/username/.ssh/id_rsa -o StrictHostKeyChecking=no"
  acls = true
  perms = true

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL