rclone-orbit is a small setup tool for a lightweight rclone-based live sync service.
The Go binary handles setup, checks, and service generation. The long-running service is still a plain shell script, generated from embedded templates, so it stays easy to inspect and debug.
brew tap ojarosch/tap
brew trust ojarosch/tap
brew install rclone-orbitFrom source:
go install github.com/ojarosch/rclone-orbit/cmd/rclone-orbit@latestrclone-orbit wizard # interactive setup
rclone-orbit doctor # dependency and rclone preflight checks
rclone-orbit install # install generated script + service from current config
rclone-orbit uninstall # remove service, keep config/logs
rclone-orbit status # show launchd/systemd status
rclone-orbit logs # print log paths
rclone-orbit write-config # write default configrclone- macOS watcher:
fswatch - Linux watcher:
inotifywaitfrominotify-tools - Optional Discord webhook alerts:
jq+curl
The wizard writes:
~/.config/rclone-orbit/rclone-orbit.env
Defaults:
LOCAL_DIR="$HOME/Documents"
REMOTE_LIVE="remote:sync"
REMOTE_BACKUP="remote:backup"
BACKUP_RETENTION_DAYS=90
PRUNE_INTERVAL_DAYS=7
DEBOUNCE_SECONDS=300
RCLONE_TRANSFERS=2macOS:
~/.local/bin/rclone_orbit.sh
~/Library/LaunchAgents/com.user.rclone-orbit.plist
~/Library/Logs/rclone_orbit.log
~/Library/Logs/rclone_orbit_error.log
Linux:
~/.local/bin/rclone_orbit.sh
~/.config/systemd/user/rclone-orbit.service
go test ./...
shellcheck bin/rclone_orbit.sh install-macos.sh uninstall-macos.sh