Sync Tools Compared — rsync, rclone, SFTP, scp, Syncthing
infra/sync-tools-compared-rsync-rclone-syncthing · By Derek Lam · Updated · 38 views · Tags: infra, sync, rclone, rsync, syncthing, sftp, ssh, s3, r2
Written with claude-opus-5-5
TL;DR
- rclone wins for cloud storage: one exe on every OS, S3, R2, SFTP and 70+ backends, with filters. It doesn't watch for changes: schedule it, or run it from a file watcher for near real time.
- Syncthing wins for two-way sync between your own devices: real-time, block-level, versioned. It can't write to S3 or R2.
- rsync wins for Linux/macOS → server over SSH, with delta transfer, but it's awkward on Windows.
- scp and plain
sftpare for one-off copies: no excludes, no mirror deletes. - Verdict: rclone for one-way to the cloud, Syncthing between devices, rsync to a Linux box.
The tools
| Tool | What it is | Talks to |
|---|---|---|
| rsync | Delta file copier | Another machine over SSH, or an rsync daemon |
| rclone | "rsync for cloud storage" | 70+ backends: S3, R2, SFTP, Google Drive, OneDrive, Dropbox, … |
SFTP clients (sftp, WinSCP, FileZilla, Cyberduck) | File transfer over SSH | Any SSH server. WinSCP and Cyberduck also speak S3, so they reach S3, R2 and other S3-compatible stores |
| ssh / scp | Copy files over SSH | Any SSH server |
| Syncthing | Peer-to-peer continuous sync | Other devices running Syncthing |
aws s3 sync (for reference) | AWS CLI command | S3, and S3-compatible stores like R2 |
How to choose
flowchart TD
A["Where does the data go?"] -->|"S3, R2, Google Drive…"| R["rclone<br/>on a schedule"]
A -->|"My other devices"| S["Syncthing"]
A -->|"A server over SSH"| B["Repeated sync<br/>or a one-off copy?"]
B -->|"One-off"| C["scp or sftp"]
B -->|"Repeated"| D["Syncing from Windows?"]
D -->|"Yes, want a GUI"| W["WinSCP<br/>keep up to date"]
D -->|"Yes, CLI"| RS["rclone SFTP"]
D -->|"No, Linux or macOS"| RY["rsync over SSH"]
| You want | Use |
|---|---|
| A PC folder → R2 or S3, one way | rclone on a schedule (aws s3 sync is fine for S3 only) |
| The same, live within seconds | rclone run by a file watcher (see the gotcha below), or WinSCP keepuptodate, which can't set Cache-Control |
| A PC folder → your Linux server, one way | rsync over SSH (Linux/macOS), rclone SFTP (Windows) |
| The same folder kept identical on laptop, desktop and phone | Syncthing |
| Real-time upload to a server from Windows, with a GUI | WinSCP Keep remote directory up to date |
| A one-off copy of a few files | scp, or sftp |
| Big files that change a little each time (VM images, DB dumps) | rsync or Syncthing; their delta transfer sends only the changed parts |
They combine: Syncthing keeps your devices in step, and one of them runs rclone to push to R2. Only worth the extra hop if you already need Syncthing between devices.
Feature matrix
| rsync | rclone | SFTP clients (sftp, WinSCP) | ssh / scp | Syncthing | aws s3 sync | |
|---|---|---|---|---|---|---|
| Windows | ⚠️ WSL, cwRsync, MSYS2 or Cygwin | ✅ single exe | ✅ sftp built in (Win 10+), WinSCP GUI | ✅ built in (Win 10+) | ✅ | ✅ |
| macOS | ✅ built in (openrsync from macOS 15.4; Homebrew for GNU rsync) | ✅ | ✅ built in; Cyberduck / FileZilla | ✅ built in | ✅ | ✅ |
| Linux | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Mobile | ❌ | ⚠️ Android via Termux | ✅ many apps | ✅ many apps | ⚠️ Android: community app (official one retired Dec 2024); iOS: Möbius Sync, paid | ❌ |
| AWS S3 | ❌ | ✅ | ⚠️ WinSCP and Cyberduck have an S3 protocol; plain sftp ❌ | ❌ | ❌ | ✅ |
| Cloudflare R2 | ❌ | ✅ provider = Cloudflare | ⚠️ WinSCP and Cyberduck, as an S3-compatible endpoint | ❌ | ❌ | ✅ with --endpoint-url |
Set Cache-Control on S3/R2 uploads | — | ✅ --header-upload | ❌ WinSCP has no option for it | — | — | ✅ --cache-control |
| Remote server over SSH | ✅ | ✅ SFTP backend | ✅ | ✅ | ❌ needs Syncthing on the other end | ❌ |
| Google Drive, OneDrive, Dropbox | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ |
| Needs software on the other side | rsync + sshd | ❌ talks the provider's API | sshd | sshd | Syncthing | ❌ |
| One-way | ✅ | ✅ sync, copy, move | ✅ | ✅ | ✅ Send Only / Receive Only folders | ✅ |
| Two-way | ❌ (see Unison) | ⚠️ bisync, advanced, needs care | ⚠️ WinSCP synchronize both | ❌ | ✅ the default | ❌ |
| Mirror deletes | ✅ --delete | ✅ sync | ⚠️ WinSCP -delete | ❌ | ✅ | ✅ --delete |
| Ignore files / folders | ✅ --exclude, --exclude-from, .rsync-filter | ✅ --exclude, --filter-from, --exclude-if-present | ⚠️ WinSCP file masks; plain sftp none | ❌ | ✅ .stignore | ✅ --exclude / --include |
| Auto sync on change | ❌ (cron, or lsyncd on Linux) | ❌ schedule it, or run it from a file watcher | ⚠️ WinSCP Keep remote directory up to date / keepuptodate, to SFTP or S3 (Windows) | ❌ | ✅ file watcher + periodic rescan | ❌ schedule it |
| Sends only changed parts of a file | ✅ delta | ❌ whole file | ❌ | ❌ | ✅ changed blocks | ❌ whole file |
| Resume interrupted transfer | ✅ --partial | ✅ retries, multipart | ✅ reget / reput | ❌ | ✅ | ✅ multipart |
| Keeps old versions | ⚠️ --backup-dir | ⚠️ --backup-dir | ❌ | ❌ | ✅ file versioning | ❌ (S3 bucket versioning) |
| Client-side encryption | ❌ | ✅ crypt backend | ❌ | ❌ | ⚠️ untrusted (encrypted) devices | ❌ |
| Mount as a drive | ❌ | ✅ rclone mount (WinFsp / macFUSE / FUSE) | ⚠️ SSHFS, WinFsp | ❌ | ❌ | ❌ |
| GUI | ❌ (Grsync, third party) | ⚠️ experimental web GUI | ✅ WinSCP, FileZilla, Cyberduck | ❌ | ✅ web GUI | ❌ |
| License | GPL-3.0 | MIT | OpenSSH BSD; WinSCP GPL-3.0 | BSD | MPL-2.0 | Apache-2.0 |
| GitHub ★ (24 Oct 2026) | 5.3K | 60.5K | 3.9K (WinSCP) | 4.1K (openssh-portable) | 89.7K | 17.3K |
| Active | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Gotchas
rclone sync, rsync --delete and aws s3 sync --delete remove from the
destination whatever is gone from the source. Point one at an empty or
unmounted folder and it empties the destination. Guard against an empty
source, or use rclone copy while testing.
- rclone has no watcher. "Auto" means Task Scheduler or cron, or a file watcher that runs it. On Windows, a PowerShell
FileSystemWatcherthat runsrclone synconce the folder has been quiet for 3 seconds gets a change online in about 4 seconds. A full sync every few minutes catches events Windows dropped. That's hows3-syncworks (Publish a Local Folder to the Web). On Linux,inotifywaitorlsyncddoes the same job.rclone mountbehaves like a drive instead, but needs WinFsp/macFUSE and a VFS cache. - WinSCP
keepuptodateto S3 can't set headers. With noCache-Controlon the objects, Cloudflare keeps images and PDFs at its edge for its default 2 hours, so a fast upload still shows up late. It also only sees changes made while it runs, so runsynchronize remote -deletebefore it. - scp has no excludes or deletes. For anything repeated, use rsync over the same SSH connection.
- Syncthing needs Syncthing on every end. A server only counts if it runs Syncthing too; object storage never does.
- rclone and S3 timestamps: by default rclone reads each object's modtime with an extra request per file.
--update --use-server-modtime, or--checksum, avoids that on big folders.
Links
- rclone: rclone.org · filters · R2 setup · GitHub
- Syncthing: syncthing.net · ignoring files · GitHub
- rsync: rsync.samba.org · GitHub
- WinSCP · WinSCP with S3 · OpenSSH
- AWS CLI
s3 sync - Where this is used: Publish a Local Folder to the Web — R2 vs S3 vs EC2
Disclaimer: These documents are personal notes. The information may be incomplete, out of date or wrong, so check it before you rely on it.