Cross-platform desktop application to manage local file synchronization powered by rclone, supporting both Linux and Windows.
It provides a PySide6 GUI, system tray icon, rsm CLI, execution queues, real-time filesystem watchers, flexible scheduling, per-job logs, SQLite audit history, automatic tray startup, and optional systemd --user background service integration on Linux.
- Multiplatform GUI & CLI: Desktop graphical interface (PySide6) and full-featured CLI tool (
rsm). - Flexible Sync Engines: Supports
sync,copy, and bidirectional synchronization (bisync). - Real-Time Watchers: Automatic trigger on file system modifications using
watchdog. - Systemd User Integration: Daemon loop running seamlessly under
systemd --useron Linux. - Rule Configurations: Visual editor with integrated support for both JSON and INI/CONF rule definitions.
- Custom Rclone Flags: Per-job tuning for concurrency (
--transfers,--checkers), bandwidth limits (--bwlimit), and provider optimizations (e.g., Google Drive chunk sizing and fast-listing). - Audit & Diagnostics: Persistent job history in SQLite, granular log streams, and built-in
doctordiagnostic tool.
- Linux (desktop session) or Windows 10/11.
- Python 3.11+.
rcloneinstalled and configured in yourPATH.- Access to
systemd --useron Linux (optional, for running the background daemon).
On Arch Linux, for example:
sudo pacman -S python rcloneOn Ubuntu / Debian:
sudo apt update && sudo apt install python3 python3-venv rcloneOn Linux, do not compile the project manually. It installs inside a local virtual environment isolated in the repository.
Do not use sudo for standard installation:
./scripts/install.shThe installer can be executed from any path:
"/path/to/rclone-sync-manager/scripts/install.sh"The installation script:
- Creates or refreshes
.venvinside the project root; - Installs Python dependencies and the package in editable mode;
- Symlinks the executable to
~/.local/bin/rsm; - Ensures
~/.local/binis exported in your shellPATH; - Initializes database schemas and local configuration directories;
- Installs the systemd user unit to
~/.config/systemd/user/rclone-sync-manager.service; - Deploys the desktop entry to
~/.local/share/applications/rclone-sync-manager.desktopand scalable icon.
After installation, launch it from your application launcher or via terminal:
rsm guiIf rsm is not recognized immediately, reload your shell configuration (e.g., source ~/.bashrc or source ~/.zshrc).
To test directly from source on Linux:
./run.shOn Windows (PowerShell):
.\run.ps1If execution policies restrict scripts, execute via:
powershell -ExecutionPolicy Bypass -File .\run.ps1Common direct runner commands:
./run.sh --help
./run.sh doctor
./run.sh guiWindows equivalent:
.\run.ps1 --help
.\run.ps1 doctor
.\run.ps1 guiIn the GUI, navigate to Settings and check:
Start with system
This generates ~/.config/autostart/rclone-sync-manager.desktop (Linux) or registers rclone-sync-manager.bat in the user's Startup directory (Windows).
To run the sync manager loop as a systemd user service:
systemctl --user enable --now rclone-sync-manager.serviceService helper commands:
rsm service-status
rsm enable-service
rsm disable-serviceThe daemon automatically manages execution queues, real-time watchers, periodic schedules, and jobs flagged with Run on startup.
Upload from local directory to remote storage:
rsm add-job \
--name Documents \
--local /home/rafael/Documents \
--remote gdrive:Documents \
--mode copyDownload from remote storage to local path:
rsm add-job \
--name RestoreDocuments \
--local /home/rafael/Documents \
--remote gdrive:Documents \
--mode copy \
--direction remote-to-localrsm list
rsm status
rsm run --job Documents
rsm logs --job Documents
rsm export-jobs jobs.json
rsm import-jobs jobs.jsonFor the initial run of a bidirectional sync (bisync):
rsm init-bisync --job Documentslocal -> remote: Useswatchdogkernel event listeners when real-time watching is enabled.remote -> local: Uses remote polling viarclone lsf.
Transfers: 4
Checkers: 8
Standard rclone ignore syntax is supported (e.g., .tmp, node_modules/**, vendor/**, __pycache__/**). Note that .git/** is not ignored by default to safeguard unpushed local branches and stashes.
Set up development environment:
python -m venv .venv
source .venv/bin/activate
python -m pip install -e . pytest
rsm init
rsm doctorRun test suite and static checks:
scripts/check.shRun unit tests directly:
pytest./scripts/uninstall.shRemoves:
- Systemd user service unit;
- Symlink at
~/.local/bin/rsm; - Desktop menu launcher and icons.
Database and configuration files under ~/.config/rclone-sync-manager and ~/.local/share/rclone-sync-manager are preserved.