Skip to main content
Linux & System Administration Tools

Rsync Command Generator

Generate rsync commands for local or remote synchronization, with archive mode, delete, exclude patterns, and SSH transport.

Configure your source, destination, and options - this tool generates the exact rsync command, with a clear warning if you enable --delete.

Rsync only copies changed data on repeat runs, making it a better fit than scp for ongoing synchronization tasks.

What Is rsync?

rsync synchronizes files and directories, locally or over SSH, copying only the parts that changed since the last run - much more efficient than a full copy for repeated synchronization.

Why Use This Tool?

Rsync has many flags, and a couple are genuinely dangerous if used carelessly - most notably --delete, which removes files from the destination that no longer exist in the source. This tool builds the command correctly and flags that risk clearly.

How to Use It

  1. Enter your source and destination paths (add a remote host and user if syncing over SSH).
  2. Enable archive mode (-a) to preserve permissions and timestamps, and add any exclude patterns.
  3. Only enable --delete if you specifically want the destination to exactly mirror the source.
  4. Copy the generated command and run it yourself.

Important Notes

--delete removes files from the destination that don't exist in the source. Always do a dry run first (rsync's -n/--dry-run flag shows what would happen without changing anything) before running a real sync with --delete enabled.

Share this tool: