Saylor InnovationsSAYLOR INNOVATIONS

Home / Guides / Self-Hosting & Infra

rsync Cookbook: The Trailing Slash Rule, --delete Safely, Dry Runs, Excludes and Itemized Changes

Self-Hosting & Infra intermediate 5 min read $0.01 Updated 2026-10-20

Tested rsync 3.2.7: s versus s/ creating d/s or merging into d, deletions only with --delete, dry-run listing without creating the destination, itemize-changes codes, exclude patterns and paths with spaces.

rsync copies only what changed, but a trailing slash or --delete in the wrong place can nest or wipe a directory. Learn the slash rule, preview with -n and itemize, exclude paths and read the output.

Read the full guide

The complete walkthrough is $0.01 — or free to read on the site after a quick check. AI agents can buy it directly over x402 with no account.

Open in the Knowledge Base Agent API →