$ one slash between a backup and an empty folder.
One missing slash and --delete removes files you meant to keep.
Rynctl is a free rsync command generator that catches the trailing-slash trap,
explains every flag it adds, and hands you a command you can read before you
run it. Already have a command? Paste it in to see what every part does.
In your browser, no account.
/ rsync will copy the folder itself, creating a subdirectory at the destination.
Start here: -avh is the recommended baseline for most syncs — archive, verbose, human-readable. Add flags as needed.
Fill in the fields above and click Generate.
| Token | Type | Description |
|---|
Found an rsync command in a script or a forum post? Paste it here to see what every flag, value and path does before you run it.
| Token | Type | Description |
|---|
$ common patterns — click any command to copy it
$ every flag and option this generator can add
| Flag | Name | What it does |
|---|---|---|
| -a | archive | Recurse + preserve permissions, times, symlinks, owner & group. |
| -v | verbose | Print each file being transferred. |
| -h | human-readable | Show sizes in KB/MB/GB instead of bytes. |
| -z | compress | Compress data during transfer. Useful on slow links. |
| -n | dry-run | Simulate without changing any files. Safe to test. |
| --delete | delete | Remove destination files that no longer exist at source. |
| --progress | progress | Show per-file transfer progress bar. |
| --stats | stats | Print a transfer summary when done. |
| --checksum | checksum | Use checksums (not mtime) to detect changes. Slower but thorough. |
| --partial | partial | Keep partial files on interrupt to allow resume. |
| --inplace | in-place | Update files in place instead of using a temp file. |
| -r | recursive | Recurse into subdirectories. (Included in -a by default.) |
| -H | hard links | Preserve hard links. Not included in -a. |
| -A | ACLs | Preserve Access Control Lists. Not included in -a. |
| --backup | backup | Save a copy before overwriting or deleting. |
| --ignore-existing | ignore existing | Skip files already present at the destination. |
| --update | update | Skip destination files newer than the source. |
| --no-perms | no perms | Do not copy permission bits to destination. |
| --size-only | size only | Detect changes by file size, not modification time. |
$ the algorithm, the rules, and the flags that matter
For local transfers, rsync defaults to whole-file copies. For remote transfers, it can compare fixed-size block checksums and send only changed data. This makes incremental backups and updates efficient, especially over slower links.
The single most common rsync mistake. /src/docs/ (with a trailing slash) means "sync the contents of docs" — so files land directly inside the destination. /src/docs (no slash) means "sync the docs folder itself" — so rsync creates a docs/ subdirectory inside the destination. When in doubt, add the trailing slash on the source.
-a actually doesArchive mode (-a) is shorthand for -rlptgoD — it enables recursive traversal, preserves symbolic links, timestamps, permissions, group ownership, owner identity, and device files in a single flag. It does not preserve hard links (-H) or ACLs (-A), and it does not compress (-z). Those require separate flags if you need them.
--delete is dangerousWithout --delete, rsync is additive — it copies new and changed files but never removes anything from the destination. With it, rsync turns the destination into an exact mirror: any file at the destination that no longer exists at the source is permanently deleted. Always run a --dry-run (-n) first to preview what would be removed before committing.
-e flagWhen syncing to or from a remote machine, rsync delegates the transport layer to SSH via -e 'ssh'. You can set -p 2222 for a non-standard port or -i ~/.ssh/id_backup for a specific key. Keep host-key checking enabled; provision known hosts with ssh-keyscan only after verifying the server fingerprint. The remote path uses the user@host:/path format.
--bwlimit=N caps throughput at N kilobytes per second, preventing rsync from saturating a shared link during business hours. Pair it with --partial so interrupted transfers resume from where they left off rather than restarting from the beginning — essential for multi-gigabyte jobs over unstable connections.
$ quick answers before you run the command
rsync is a fast, versatile command-line utility for synchronising files and directories between two locations, locally or over SSH. It only transfers the differences between source and destination, which makes it efficient for backups and deployments.
Rynctl works as an rsync command builder: enter your source and destination paths, select the flags you need (archive, verbose, compress and so on), optionally enable SSH for remote transfers, then click Generate Command. The complete rsync command appears in the output box, ready to copy.
Enable the Remote / SSH destination toggle, enter the remote host (user@hostname), set a port if needed, and give your SSH key path. Rynctl generates the matching -e 'ssh -p PORT -i KEY' argument for you.
--delete removes files from the destination that no longer exist at the source, making the destination an exact mirror. --update skips files where the destination copy is newer than the source, so it never overwrites newer files.
It is three short flags grouped together. -a is archive mode: recurse into directories and preserve permissions, times, symlinks, owner and group. -v prints each file as it transfers. -z compresses data on the way, which helps over slow links. It is the most common starting point for copying to a remote server.
Yes. Paste it into Explain a Command, under the generated command, and every flag, value and path is listed with what it does, including whether each source path has a trailing slash. Multiline commands and sudo work too. The pasted text stays in your browser and is not saved.